git-dumper
Python environments are externally managed by apt on Kali Linux, so use pipx or a virtual environment to leave the default environment untouched while working with the git-dumper tool
pipx install git-dumper
git-dumper http://domain.tld/.git git_loot
Outputs contents of open Git repo to git_loot directory. Use grep or other recursive searching methods to find secrets, interesting data, files, usernames, passwords, etc.