Whenever I compress my Git repository with 7-Zip, it is many times larger than uncompressed. Specifically, I cloned the HTML5Boilerplate repository, originally 243 KB, and compressed it with 7-Zip, using several methods. With 7z, LZMA compression, highest dictionary size, word size, etc., it becomes over 12 MB when compressed, which is almost 50 times larger! With other methods, such as zip, it is even larger!
The compressed archive consistently passes 7-Zip's "Test Archive" test, when I view the archive with 7zGUI or whatever it's called, they are legible, no corruption or anything, and when I uncompress the archive the files seem to be preserved, including "hidden" files & folders such as .git and .htaccess, and the uncompressed folder is the exact same size as before compressed. This all indicates to me that the issue is not corruption of files, adding random bits to files, or anything like that.
What could possibly cause this to happen?