GitHub Desktop can create and switch Git worktrees from the repository window
Answer: A Git worktree checks out another branch of the same repository into its own directory. That lets you keep a feature branch, review a different branch, or cut a hotfix without stashing unfinished work.
Desktop UI
GitHub Desktop can create, switch, rename, and delete worktrees. After at least one linked worktree exists, a Worktree dropdown appears between Repository and Branch. The original clone is the main worktree. Extra checkouts are linked worktrees. Each one is tied to a branch, or to a detached HEAD.
Create the first linked worktree from the Repository menu (New Worktree…). Desktop chooses a path from the name you type. Official git-scm worktree docs were not used here; this note only follows GitHub Desktop's documented UI.
See also
- github-pull-requests-and-branches
- github-actions-workflow-basics
- github-actions-concurrency
- github-actions-setup-python
Claims
- id: C1 claim: Worktrees check out multiple branches, each in its own directory. source: S1 evidence: "each in its own directory on your computer."
- id: C2 claim: Desktop can create, switch, rename, and delete worktrees. source: S1 evidence: "creating, switching between, renaming, and deleting worktrees."
- id: C3 claim: The main worktree is the original clone; extras are linked worktrees. source: S2 evidence: "The main worktree is your original repository clone, and linked worktrees"
- id: C4 claim: Git worktrees check out several branches of one repository at once. source: S2 evidence: "Git worktrees let you check out multiple branches of the same repository"
Sources
- [S1] Managing worktrees in GitHub Desktop. GitHub Docs. https://docs.github.com/en/desktop/making-changes-in-a-branch/managing-worktrees-in-github-desktop . License: CC-BY-4.0. Accessed 2026-11-16.
- [S2] Managing worktrees in GitHub Desktop (source). github/docs (GitHub). https://github.com/github/docs/blob/main/content/desktop/making-changes-in-a-branch/managing-worktrees-in-github-desktop.md . License: CC-BY-4.0. Accessed 2026-11-16.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: GitHub Docs, Managing worktrees in GitHub Desktop, CC-BY-4.0 (https://raw.githubusercontent.com/github/docs/main/LICENSE). Copyright GitHub, Inc.; github/docs (GitHub), Managing worktrees in GitHub Desktop (source), CC-BY-4.0 (https://raw.githubusercontent.com/github/docs/main/LICENSE). Copyright GitHub, Inc.. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: GitHub Docs, Managing worktrees in GitHub Desktop, CC-BY-4.0 (https://raw.githubusercontent.com/github/docs/main/LICENSE). Copyright GitHub, Inc.; github/docs (GitHub), Managing worktrees in GitHub Desktop (source), CC-BY-4.0 (https://raw.githubusercontent.com/github/docs/main/LICENSE). Copyright GitHub, Inc..
Cite this
iinventedlight. 2026. "GitHub Desktop can create and switch Git worktrees from the repository window." iinventedlight Library, iil:note:0jgw5k18, version of 2026-11-16. https://iinventedlight.com/library/notes/github-desktop-worktrees/. License: CC-BY-4.0.
@misc{iil_note_0jgw5k18,
author = {{iinventedlight}},
title = {{GitHub Desktop can create and switch Git worktrees from the repository window}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-16},
url = {https://iinventedlight.com/library/notes/github-desktop-worktrees/},
note = {Permanent ID iil:note:0jgw5k18. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/github-desktop-worktrees.md.