git-worktree

Manage Git worktrees for branch isolation and parallel development.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/jey3dayo/apm-workspace --skill git-worktree-jey3dayo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-worktree
Source: https://github.com/jey3dayo/apm-workspace/tree/main/catalog/skills/git-worktree
Command: npx skills add https://github.com/jey3dayo/apm-workspace --skill git-worktree-jey3dayo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git-wt, git-worktree, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the management of Git worktrees, facilitating branch isolation, parallel work, and efficient troubleshooting of worktree-related issues.

Core Features & Use Cases

  • Worktree Management: Execute commands like list, switch, create, rename, and delete worktrees.
  • Troubleshooting: Diagnose and resolve worktree creation and removal errors.
  • Use Case: Ideal for developers working on feature branches in parallel, where branch isolation is crucial.

Quick Start

To create a new worktree for the 'feature/my-task' branch, use the command: git wt feature/my-task

Frequently Asked Questions about git-worktree

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Git worktrees for parallel development?

To manage Git worktrees for parallel development, you can use commands to list, switch, create, rename, and delete worktrees. This isolates branches, allowing you to work on multiple features simultaneously without switching contexts in a single directory.

What is the best way to create a Git worktree for a new feature branch?

The best way to create a Git worktree for a feature branch is using the command `git wt feature/my-task`. This sets up an isolated working directory linked to your branch, facilitating efficient parallel work.

Why does my Git worktree creation or removal fail with errors?

Git worktree creation or removal fails due to directory locks, stale administrative files, or path conflicts. You can troubleshoot these worktree issues using dedicated diagnostic tools to identify and resolve the underlying errors.

Do I need git-wt installed to isolate branches using Git worktrees?

Yes, you need both git-wt and git worktree installed to isolate branches using this Skill. These dependencies provide the underlying command-line interface required to execute worktree management operations.

When do I need branch isolation instead of standard Git branching?

You need branch isolation via Git worktrees when working on feature branches in parallel. Unlike standard branching in a single directory, worktrees provide separate physical directories for each branch, eliminating the need to stash changes before switching contexts.