If a git directory isn’t browseable (permissions, api endpoint, etc.) we can try to hit the individual files typically present such as (/.git/CONFIG)

Then we can just view the git commit changes

python3 git-dumper/git_dumper.py <http://127.0.0.1:1230/.git/> dumper-output/
git log -p