Git Worktree Manager

•
629
•

Manages Git worktrees and environment configurations to enable seamless parallel development and isolated code reviews within Claude Code.

The Git Worktree Manager skill provides a robust set of utilities for handling Git worktrees directly within the Claude Code environment. It streamlines the creation, listing, switching, and cleanup of worktrees stored in a dedicated .worktrees/ directory, while also ensuring that necessary .env files are safely synchronized across development branches. This allows developers to work on multiple features or bug fixes simultaneously without switching context in their main working directory, maintaining a clean workspace and improving workflow efficiency.

Key Features

01Safely cleanup worktrees without deleting underlying branches or uncommitted changes
02Create and manage isolated Git worktrees within a standardized directory
03Automated fetching from origin for branch-based worktree creation
04Switch between parallel feature branches without disrupting the main working directory
05Synchronize environment variables across worktrees without overwriting existing files
06629 GitHub stars

Use Cases

01Developing multiple features simultaneously in separate, dedicated workspaces
02Maintaining a clean root directory while experimenting with risky architectural changes
03Performing code reviews in an isolated environment without stashing current work