References: Version Control as a Safety Net¶
-
Version control - Wikipedia - Explains why tools track every change to a codebase and how they let you go back. It frames git as the save points this chapter relies on.
-
Git - Wikipedia - Covers git's history, design and core commands. It gives context for the tool every AI coding agent uses to record its work.
-
Branching (version control) - Wikipedia - Describes branches, merging and common branching strategies. It supports the chapter's sections on feature branches, the main branch and merge conflicts.
-
Pro Git (2nd ed.) - Scott Chacon and Ben Straub - Apress, 2014 - Chacon is known for explaining git as snapshots, not lists of changes, with clear diagrams of commits and branches. That picture makes reverts and merges easy to reason about.
-
Version Control with Git (3rd ed.) - Prem Kumar Ponuthorai and Jon Loeliger - O'Reilly Media, 2022 - Known for showing how git stores its history inside the hidden folder, so each command's effect is visible. Useful when an agent's git command needs checking.
-
Git Guides - GitHub - Short beginner guides to commit, push, pull, branch and clone. A good companion for builders who have used git through an agent and want to know what each command does.
-
Pull requests - GitHub Docs - Explains how pull requests propose, review and merge changes. It supports the chapter's section on reviewing an agent's work before it reaches main.
-
How to Write a Git Commit Message - Chris Beams - Seven widely cited rules for clear commit messages. Good messages make git history useful when you need to find which change broke something.
-
git-revert Documentation - Git - The official reference for undoing a commit by adding a new commit. It backs the chapter's advice to revert instead of rewriting shared history.
-
Learn Git Branching - Learn Git Branching - An interactive visual game for practicing commits, branches, merges and rebases. It lets learners see what each command does to the history graph.