Tech article
How big is a Git commit?
No preview is available. Read the original article for the full story.
Hacker News | Oct 9, 2026 | theanonymousone
Automated excerpt
Git stores "objects" as zlib compressed data. So that’s 8 Kb per commit, about half the size of the repo with a larger tree of files. Even better, a huge (16. 2 Mb) text source file: So that’s 1. 6 Mb to commit a 16. 4 Mb source file!
Selected automatically from source text; not independently written or fact-checked. Read the original for full context.