`git gc --prune=now --aggressive` saves over 100MB It's slow, but likely worth it! See https://git-scm.com/docs/git-gc