Git gc command. $ git gc --prune=now --aggressive.