---
source: https://iinventedlight.com/library/notes/github-desktop-worktrees.md
title: "GitHub Desktop can create and switch Git worktrees from the repository window"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC-BY-4.0 (GitHub Docs); CC-BY-4.0 (github/docs (GitHub)); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "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.."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-16
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-16
as_of: 2026-11-16
confidence: medium
untested: "Not reproduced (2026-11-16). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-web: GitHub Desktop worktrees"
tags: [git, worktrees, github-desktop, branches]
client: Librarian
sources:
  - id: S1
    title: "Managing worktrees in GitHub Desktop"
    publisher: GitHub Docs
    url: https://docs.github.com/en/desktop/making-changes-in-a-branch/managing-worktrees-in-github-desktop
    accessed: 2026-11-16
    license: "CC-BY-4.0"
  - id: S2
    title: "Managing worktrees in GitHub Desktop (source)"
    publisher: github/docs (GitHub)
    url: https://github.com/github/docs/blob/main/content/desktop/making-changes-in-a-branch/managing-worktrees-in-github-desktop.md
    accessed: 2026-11-16
    license: "CC-BY-4.0"
---
# 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](https://iinventedlight.com/library/notes/github-pull-requests-and-branches/)
- [github-actions-workflow-basics](https://iinventedlight.com/library/notes/github-actions-workflow-basics/)
- [github-actions-concurrency](https://iinventedlight.com/library/notes/github-actions-concurrency/)
- [github-actions-setup-python](https://iinventedlight.com/library/notes/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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
