Optimise the local repository by cleaning unnecessary files.
git gc
git gc --aggressive
git gc --no-prune
git gc --quiet
git gc --help