Claude Code ships with deep support for git worktrees. Worktrees are essential for doing lots of parallel work in the same repository. Boris has dozens of Claudes running at all times, and this is how he does it.

  • Use claude -w to start a new session in a worktree
  • Or hit the "worktree" checkbox in the Claude Desktop app
  • For non-git VCS users, use the WorktreeCreate hook to add your own logic for worktree creation

Original source on X