GitHacker (git leak)

githacker --url <url>/.git/ --output-folder <dir>

Recovers the .git repository from an exposed website, allowing download of source code and commit history.

When you discover that the .git directory is accessible (e.g., at http://example.com/.git/). GitHacker downloads all objects and reconstructs the repository, revealing source code, credentials in old commits, and configurations.

If .git is protected by authentication or not accessible. Also if the target does not use Git.