I have a git repo, locally it was 3.9GB, cloning it freshly 3.3GB, it had some giant files in it, but I used https://stackoverflow.com/a/8741530/7857013 to remove them from git history.
Now locally my repo is 1.5GB, and cloning it freshly it is 80MB! The 1.5GB is in ./.git/objects
. How come it is still so big locally, and how do I fix it?
Quickly before anybody says 'local branches'. The repo has 1 branch, and never had more than that one main branch (locally or remote).