worktrees.MD
Git worktrees + AI development workflows
Learn Git worktrees. Put them to work with AI agents.
A branch tracks a line of development. A worktree provides another working folder where a branch can be checked out. Worktrees share repository history.
Separate folders let two coding agents edit different features without sharing the same checkout. Learn the Git commands, then use two independent sessions to build, review and combine features in a small app.
The lab includes a starter app, copyable prompts and a few checks for the finished result. Download the starter.