Description
The .git folder is a GitHub directory containing information and hashes of files and directories of the repository he is associated with.
Bussines Impact
An attacker could access very sensitive information including usernames, passwords, ports, and IP addresses of a database.
Recommendation
To prevent this vulnerability from happening, Ensure that the directory access is blocked by configuring the .htaccess file or by removing the “/.git/” from the server.