Promptles
Git & Collaboration

Git Worktree

intermediate

Definition

An extra project folder linked to the same repository but set to a different branch, so you can work on two branches side by side without switching back and forth.

In the wild

While Claude works on a big redesign in one folder, you start a second Claude Code session in a worktree to fix an urgent bug on its own branch.

More from Git & Collaboration