git-gc
Optimalkan repositori lokal saat ini dengan menghapus berkas-berkas tak terpakai. Informasi lebih lanjut: https://git-scm.com/docs/git-gc.
git gc
git gc --aggressive
git gc --no-prune
git gc --quiet
git gc --help