> ## Documentation Index
> Fetch the complete documentation index at: https://2026commitplusinc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Worktrees

> Manage git worktrees visually from the sidebar.

Commit+ lets you manage **git worktrees** from the sidebar, which is useful when you want isolated parallel feature work without disturbing your main checkout.

## Available actions

* List existing worktrees with branch, path, lock, and dirty-state context.
* Open a worktree in a new Commit+ window.
* Open a worktree path in Terminal.
* Create and remove worktrees.
* Lock and unlock worktrees.
* Prune stale worktree metadata.
* Move worktrees.
* Check out branches in a worktree.

## Create a worktree

1. Open the worktree actions from the sidebar.
2. Pick the branch and destination path.
3. Commit+ runs the Git worktree operation and refreshes the sidebar after it succeeds.

## Safety model

The main worktree is listed but protected from destructive actions such as removal. Worktree labels live in Commit+ sidecar state under `.git/macgit/`, while Git operations remain responsible for the actual worktree changes.
