a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment
j4d3  ·  3410 days ago  ·  link  ·    ·  parent  ·  post: One in every 600 websites has .git exposed

It does depend on your project structure more than what you are building with. The solution is to make sure your web server is only showing the Internet the files you want it to. Set appropriate file permissions, of course, but also make sure your server doesn't show the contents of directories if there's no other page to load there. On an Apache server, those settings are in .htaccess.