Back to browse
GitHub Repository

Fast git worktree manager. Pure bash, zero dependencies.

13 starsShell

Git-wt – A Bash wrapper for Git worktrees

by kuder·Feb 24, 2026·2 points·0 comments

AI Analysis

MidShip ItNiche Gem

Git worktree wrapper for AI agents, but worktree management is niche and solved adequately by git natively.

Strengths
  • Pure Bash, zero runtime dependencies means instant install and works anywhere Git runs
  • Auto-naming (adjective-noun combos) is delightful UX and reduces cognitive load vs. manual branch naming
  • SKILL.md metadata lets Claude Code, Cursor discover and autonomously invoke git-wt without explicit prompting
Weaknesses
  • Git worktrees are already a power-user feature with small audience; adding UX polish doesn't expand the use case
  • Main motivation (AI agents running in parallel worktrees) is itself niche—doesn't solve a mainstream dev pain
Target Audience

Developers using Git worktrees for parallel workflows, AI coding agents (Claude Code, Cursor), multi-branch teams

Similar To

Git (native worktree) · Changesets · Partial.dev

Post Description

I built this because I was using git worktrees heavily for running parallel AI coding agents (Claude Code, Cursor) and the native commands were too manual.

git-wt is a pure Bash tool (~300 lines, zero dependencies) that wraps `git worktree` with:

- Auto-generated memorable names (adjective-noun combos) - Centralized storage in `~/.git-wt/` instead of inside the repo - `--copy-env` to duplicate .env files into new worktrees - Bash/Zsh completions - Direct editor opening (`git wt open <name> --editor code`) - Built-in SKILL.md so AI agents (Claude Code, etc.) can discover and use git-wt autonomously

Installs in 5 seconds via curl. Works as a git subcommand.

The main use case for me is running 3-5 AI agents on the same repo simultaneously, each in its own worktree. But it's useful any time you work with multiple branches.

https://github.com/kuderr/git-wt

Similar Projects