Git Performance commands

git

I have a .bat file with these git commands in it which I run once in awhile to cleanup/improve performance. In my git bash, I drop the bat and the run the batch.

git fsck --unreachable
git reflog expire --expire=0 --all
git repack -a -d -l
git prune
git gc --aggressive   Here is a brief discription and link for more detailed information on the commands. git-fsck - Verifies the connectivity and validity of the objects in the database

git-reflog - Manage reflog information

git-repack - Pack unpacked objects in a repository

git-prune - Prune all unreachable objects from the object database

git-gc - Cleanup unnecessary files and optimize the local repository