Does git compress files efficiently? - reddit
www.reddit.com › r › gitAt a conceptual level, git doesn't compress anything. It runs your file through the hash algorithm to get a 40-byte hex string unique to its contents, then stores the contents in your projects .git/objects under that hash (i.e. it makes a file named that hash, and puts the contents of the file in there).