Git
Commits, branches and history, understood from the inside.
Git from the inside out, for every developer: snapshots and the object model, the working tree, index and repository, commits and history, branches, merging, conflicts and rebase, remotes, pull requests and branching strategies, commit hygiene, undoing mistakes, the reflog, stash and worktrees, bisect and blame, big repositories and monorepos, signing and secrets in history, and hooks. Vendor-neutral: plain Git first, then how GitHub, GitLab, Bitbucket, Azure Repos and self-hosted forges each add pull requests, reviews and protections. By the end, Git stops being a list of memorised commands and becomes a model you can reason with.
- 6
- chapters
- 22
- modules
- ~8h
- of learning
- 22
- live now
Take modules in any order. The route suggests one that builds up naturally.
has a live module in progress complete
Take a look inside
The big picture, before the details
A change's journey through Git: the three areas, commits, branches, merging, remotes and pull requests, with undo and recovery always within reach. Watch the tour, or click any part.
The three areas: edit in the working tree, stage what belongs together, commit it to the repository (modules 1–3).
A taste of modules 6 and 8: merge or rebase a feature branch and watch the commit graph change.
Two branches have moved apart. Merge or rebase them.
Foundations
What Git actually stores, and where.
4 modules · 85 min
Beginner
Why version control
From final_v2_REALLY.docx to Git.
Core
Snapshots, not differences
Blobs, trees and commits.
Beginner
The three areas
Working tree, index, repository.
Beginner
Commits and history
A chain of snapshots with parents.
Branching
Cheap branches, and the ways to bring work back together.
5 modules · 115 min
Core
Branches are pointers
A branch is a 41-byte file.
Core
Merging
Fast-forward or a merge commit.
Core
Merge conflicts
When two people change the same lines.
Core
Rebase
Replaying commits onto a new base.
Core
Cherry-pick and revert
Copy one commit, or undo it safely.
Collaboration
Working with other people's copies.
4 modules · 85 min
Core
Remotes
Clone, fetch, pull and push.
Core
Pull requests and forks
Proposing changes for review.
Core
Branching strategies
GitFlow, GitHub flow, trunk-based.
Core
Commit messages and history hygiene
History is documentation.
Undo and recovery
Getting out of trouble.
4 modules · 85 min
Core
Undoing things
Restore, reset, revert, amend.
Core
The reflog
Almost nothing is truly lost.
Core
Stash and worktrees
Switch tasks without losing your place.
Core
Bisect and blame
Find the commit that broke it.
Scale and security
Big repositories, many projects, and trust.
4 modules · 85 min
Deep dive
Big repositories
LFS, partial clone and sparse checkout.
Deep dive
Monorepos and submodules
One repository or many?
Deep dive
Signing and secrets in history
Prove who committed, and clean up leaks.
Applied
Hooks and automation
Checks that run on commit and push.
Capstone
Put it all together.
1 module · 35 min