Keeping it Clean (1) $ git fsck-objects $ git prune (2) $ git count-objects (2) (3) $ git repack (3) (4) $ git prune (4) (1) assures the repository health reasonably well. (2) how many loose objects? wasted space? (3) repack loose objects incrementally (4) after repack, prune removes the duplicate loose objects.