We use GitHub to host all my projects, and we've got a 6GB soft-limit. A few days ago, there were many files added to the repository which should not have been added (such as images, movies, etc.) which pushed the repository size to 2.4G:
$ du -sh .git
2,4G .git
These changes were pushed to GitHub, but the Disk Usage there increased by almost 2 times the size of the .git folder. How is that possible? Am I missing something here? I always thought that the size of the repository was the same as the size of the .git
folder.