Prevent apache from serving .git-directory

If you prefer vcs-deployment, you should protect the .git-Directory.