How does Git think about the history of your project?
As a series of snapshots of tracked files, not a list of changes.
- As a series of snapshots of the whole project ✔
- As a list of line-by-line differences
- As one file that is overwritten each save
Why: Many older version control systems store each file's changes over time. Git instead records a snapshot of tracked files at each commit, reusing unchanged files by reference so it does not waste space.
Huh, didn't know that: A normal, non-shallow Git repository keeps its history locally, so browsing old versions does not need a server.
Git takes so many snapshots of my code, it should start a photography business.
References
Answer: As a series of snapshots of the whole project. Many older version control systems store each file's changes over time. Git instead records a snapshot of tracked files at each commit, reusing unchanged files by reference so it does not waste space.
- Pro Git book: What is Git? git-scm.com/book/en/v2/Getting-Started-What-is-Git%3F
Instead, Git thinks of its data more like a series of snapshots of a miniature filesystem.
Checked 2026-10-10.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.