What is GWTree?
GWTree is a git worktree manager built for the AI-assisted development era. Create and manage git worktrees effortlessly, enabling you to run multiple AI agents in parallel — Claude Code, Command Code, Cursor on separate branches simultaneously.Why GWTree?
Modern development with AI coding agents requires working on multiple features simultaneously. GWTree eliminates the friction of branch switching, stashing, and context loss by giving each agent its own isolated worktree. Key benefits:- Multi-agent parallelism — Run Claude Code, Command Code, Cursor on separate features simultaneously
- Instant worktree creation —
gwt a b c -xcreates 3 isolated environments in seconds - Clean merges — Each agent works on its own branch, merge when ready
- Zero conflicts — No stashing, no branch switching, no context loss
Quick example
- Claude Code →
repo-auth/fixing authentication - Command Code →
repo-api/building API endpoints - Cursor →
repo-dashboard/creating UI components
gwt merge.
Core features
Batch creation
Create multiple worktrees at once:
gwt dashboard api authStatus dashboard
See changes, commits ahead/behind, merge status for all worktrees
Smart cleanup
Auto-remove merged worktrees, or clean all with
--allMerge helper
One command to merge, remove worktree, and delete branch
Quick creation
Minimal prompts, smart defaults, transparent command output
Interactive management
List, search, and delete worktrees with fuzzy search
Get started
Installation
Install GWTree globally with your favorite package manager
Quickstart
Get your first worktree running in minutes
Smart naming pattern
GWTree follows a consistent naming pattern:{repo}-{name} for worktrees with matching branch names.