Git
Use Git with confidence: how it stores history, daily branch work, merge or rebase, and undoing mistakes.
Start reading
4 pages
Git in four pages
- 1On commits and branchesA commit is a snapshot, not a diff
- 2On everyday workA change passes through three places before it is shared
- 3On merging and rebasingA merge joins two lines of history
- 4On undoing mistakesThe right undo depends on how far the mistake got
- ?Quiz7 questions to check it stuck
Sources
Facts checked 2 December 2026 against:
- Git reference manual (git-switch, git-restore, git-reset, git-push, git-pull, git-reflog, git-commit)
- Git: planned breaking changes for Git 3.0
- Pro Git: Git Internals, Git Objects
- Pro Git: Git Branching, Rebasing
- GitHub Docs: About pull request merges
- GitHub Docs: About pull requests
- GitHub Docs: About commit signature verification