using-git-worktrees

Installation
SKILL.md

Using Git Worktrees

Overview

Create isolated workspaces sharing the same repository for parallel branch work. Follow systematic directory selection and safety verification to ensure reliable isolation.

Violating the letter of the rules is violating the spirit of the rules. Skipping safety verification "just this once" or assuming directory locations are the most common causes of worktree problems.

When to Use

  • Starting feature work requiring isolation from current workspace
  • Working on multiple branches simultaneously
  • Executing implementation plans in a clean environment (OPTIONAL: pairs with humaninloop:plan)
  • Testing changes without affecting the main working directory
  • Parallel code review while continuing development

When NOT to Use

  • Single-branch workflows: No need for isolation when working linearly
Related skills

More from deepeshbodh/human-in-loop

Installs
6
GitHub Stars
28
First Seen
Feb 25, 2026