Git Worktrees
Isolated git branches allowing multiple Claude agents to work in parallel on the same repo without conflict. Each agent gets its own working copy (worktree). Natively integrated in Claude Code v2.1.106+ via `isolation: "worktree"` frontmatter on subagents, or via `EnterWorktree`/`ExitWorktree` tools.
Strengths
- Real parallel development, multiple Claude agents on different branches without conflicts
- Native git, no external dependency, works with all existing repos
- Native Claude Code integration via `isolation: "worktree"`, worktree created and cleaned up automatically
Limitations
- Multiplied disk space, each worktree duplicates untracked files and node_modules
- Manual merge at end of session, parallel changes must be reconciled
Best for
- Running multiple features in parallel with independent Claude agents on isolated branches
- Reviewer agent that tests another agent's changes without touching the main branch