Git Worktree
intermediateDefinition
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
Branch
A separate line of work inside a repository where you can make changes without affecting the main version until you merge them back.
Changelog
A file that lists what changed in each version of a project, in plain words, newest first, so people can see what's new or fixed without reading the code.
Cherry-pick
Copying one specific commit from another branch onto yours, without bringing along anything else from that branch.
Clone vs Fork
Cloning downloads a copy of a repository to your own computer; forking makes your own copy of someone else's repository on GitHub, which you can change and later offer back to them.
Commit
A saved snapshot of a project's files at one moment, with a short note describing what changed.
Diff
A side-by-side view of exactly what changed between two versions of a file, with removed lines marked by a minus sign and added lines by a plus sign.