PSA: .git directory should not be public.

Git
Ideally the .git directory is not in production to begin with. as it is not needed to run an application. However, many deployment strategies use…