Chapter 98·Beginner
How Git Stores History: Commits, Trees, and Blobs
01 / 06
The core idea
Each commit records what the whole project looked like at that moment — not a list of edits. Diffs are computed later, by comparing two snapshots.