Subcategory · first learn template
Git worktrees & parallel branches
How to run parallel checkouts, avoid shared-folder collisions, and isolate coding agents with git worktrees - including Windows and multi-agent workflows.
Definitions
1 articleHow-to guides
4 articlesHow to add a git worktree
Create a new worktree and check out a branch in its own folder.
planned
How to remove a git worktree
Delete a worktree cleanly, including after the folder was removed by hand.
planned
How to prune leftover git worktrees
Clean up stale worktree registrations Git still thinks exist.
planned
How to give each coding agent its own worktree
Step-by-step so each agent gets its own folder and branch.
planned
Fixes
1 articleComparisons and decisions
3 articlesGit worktree vs branch: what is the difference?
When a branch is enough and when you need a second working tree.
planned
Git worktree vs clone: which should you use?
Second full clone versus a linked worktree for parallel work.
planned
Should AI agents share the same git checkout?
Clear yes/no: shared folder vs isolated checkouts for agents.
planned
Agent workflows and use cases
4 articlesHow to use git worktrees for parallel AI coding agents
One agent per worktree so parallel AI sessions do not share one folder.
planned
How to run coding agents in parallel
End-to-end parallel agent workflow with worktrees as isolation.
planned
How to run multiple Claude Code sessions safely
Several Claude Code sessions without stomping the same working tree.
planned
How to use Claude Code with git worktrees
Claude Code plus worktrees: setup, isolation, and safe habits.
planned