Module · Claude Engineer
Git with Claude Code
Checkpoints, isolated worktrees and the commit discipline an agent session needs.
TOPIC 01
Checkpoints & Isolation
A way back, and a place to work that nobody else is touching.
What you'll practice
- Use Checkpoints as a Way Back — guided · beginner
- Work in an Isolated Worktree — practice · intermediate
A command you'll meet
cat ~/.claude/git/checkpoints.mdAn agent session can rewrite a lot in a minute. Open the task below for the full walkthrough.
Hands-On Tasks in This Topic (2)
Use Checkpoints as a Way Back
When a session goes wrong you need somewhere to go back to. Write the checkpoint discipline the team uses.
Work in an Isolated Worktree
Two sessions in the same working tree fight each other. Write the isolation rule that keeps them apart.
TOPIC 02
Commits & Branches
The history you leave behind is the part the next person reads.
What you'll practice
- Write the Commit Message — practice · intermediate
- Keep the Branch Discipline — challenge · advanced
A command you'll meet
cat ~/.claude/git/commits.mdThe history is the only documentation that cannot be edited later. Open the task below for the full walkthrough.
Hands-On Tasks in This Topic (2)
Write the Commit Message
The commit message is the part of the change that survives. Write the rules the team applies to every message.
Keep the Branch Discipline
Short branches, one purpose, and a merge that tells the truth. Write the rules for the branches an agent session works on.