Stop your web server from leaking your “.git” directory
This is important if you are automatically deploying web-apps using git (for example with a GitHub deploy key). What's this about? If you are deploying your web-apps using git pull, either manually or automatically, chances are you are deploying straight to the web-root, which would then include a hidden ".git" [...]