Reading Your History
Here is the plain idea: all your commits, chained one after another, make a history — a timeline of your project you can scroll through, read, and learn from at any time.
Once you've taken a few save-points, you have something genuinely valuable: a complete, honest record of how your project grew. Knowing how to read it turns a pile of snapshots into a story.
The drawer of dated drafts
Back to the author's filing drawer. Open it and the drafts are in order, newest at the front, each with its little note and date. Flip through and you watch the book take shape: the rough first chapter, the editor's cuts, the polished final.
Your commit history is exactly that drawer. The log is the act of flipping through it — a list of every commit with its message and when you made it, newest first. Reading the log is reading the diary of your project.
The two things every history shows
A good history answers two questions for any moment in the past.
What changed? Git can show you the difference between any two save-points — line by line, what was added, what was removed. This is called a diff. Picture a careful editor's markup: new text underlined, deleted text struck through. You see precisely what moved between two snapshots, nothing hidden.
Why did it change? That's what your commit messages are for. The diff shows the what; your note explains the why. Together they let you reconstruct not just the shape of an old version but the thinking behind it.
Each commit has a name
Every commit gets a unique fingerprint — a long string of letters and numbers Git generates automatically. It looks like a3f9c2e… and you'll only ever use the first few characters.
Think of it as the call number on a library book. You don't memorize it; you just use it to point at that exact draft when you want to look at it or return to it. There's also one friendly nickname worth knowing, HEAD, meaning simply "the snapshot you're currently standing on" — usually your newest commit, but whichever one you've stepped onto if you go visiting the past.
Looking without changing
Here's the reassuring part: reading your history is completely safe. Flipping through old drafts, viewing a diff, checking an old commit — none of it alters your current work. You're browsing the drawer, not rewriting the book.
You can even visit an old commit to see your whole project as it was on that day — every file restored to that moment, just to look around. When you're done, you step back to the present and nothing's been disturbed. The past stays the past until you deliberately decide to bring a piece of it forward.
Your turn
Picture the history of a project as five commit messages in a list, newest at top: "Polish the ending," "Add the middle section," "Fix the opening line," "Add the title," "Start the document."
Read them bottom to top. Notice you can narrate the whole project's life from those five lines alone — that's a well-kept history doing its job.
Next we open the door that makes version control truly fearless: undoing changes. 🐙
Stuck or curious?
Ask Pip about this lesson — tap the porthole bottom-right.