Terminal-first workflow

git-worktree-visualizer

A focused TUI to create, switch, and manage Git worktrees with tmux splits. Designed to feel like a native part of your shell.

worktrees · my-repo

main                         /repo                         .  ↑0 ↓0
feature/auth                 /repo/.worktrees/feature/auth  *  ↑3 ↓1
bugfix/login                 /repo/.worktrees/bugfix/login  .  ↑0 ↓0

↑/↓ move  enter open  c create  t tmux  d delete  r refresh  q quit  * dirty  . clean  ↑/↓ divergence
        

Built for flow

One screen. One task. Everything you need to move between worktrees without context switching.

Agent-ready

Launch Codex, Claude, Gemini, or your custom command directly in the selected worktree.

Zero bloat

Python standard library + Git. No node, no fzf, no extra services.

Install

curl -fsSL https://raw.githubusercontent.com/PeterHdd/Git-Worktree-Visualizer/main/install.sh | sh

gtw

Adds a small shell function so your terminal can cd into the selection.