To download the entire repo from exposed .git
pip install git-dumper
git-dumper http://<Target IP Address>/.git <>.git
To see if there are any staged files
git status
To restore any file changes
git restore .
To view committed histories
git log
To view changes in that commit
git show <Commit Hash>
Last updated 8 months ago