ahmedelgabri

A git custom command that enhances Git's native worktree functionality with interactive features, automation, and repository migration capabilities.

57
2
100% credibility
Found Feb 07, 2026 at 20 stars 3x -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Go
AI Summary

git-wt is a custom Git command that simplifies managing multiple checked-out branches in separate directories using a bare repository structure, with interactive tools for creation, switching, and cleanup.

How It Works

1
💡 Discover organized project magic

You hear about a handy tool that keeps your coding projects super tidy by giving each feature or version its own neat folder.

2
📥 Add it to your computer

You quickly set up the tool on your machine using a simple download or your favorite package helper.

3
Kick off your project
🆕
Grab a new project

Bring in a fresh project from online, and it sets up tidy folders for the starting version right away.

🔄
Tidy your current project

Rearrange your existing project into clean folders, safely keeping all your changes and ideas intact.

4
Create feature folders

Easily make new folders for trying out ideas, fixing bugs, or checking updates, with a fun picker to choose from.

5
🔀 Hop between folders

Smoothly switch to any folder you want with an interactive menu, feeling in total control of your workspace.

6
🗑️ Clear out the old

Preview and remove finished folders safely, keeping your space fresh without worries.

🎉 Master multitask coding

Celebrate your super organized setup where juggling multiple project ideas feels effortless and joyful.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 20 to 57 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is git-wt?

git-wt is a shell script git custom command that upgrades Git's worktree feature into a streamlined system using bare repos for shared git data and dedicated folders per branch. It lets you clone git github repos with `git wt clone URL`, spawn interactive worktrees via `git wt add`, switch effortlessly with `git wt switch`, and prune via `git wt remove` or `git wt destroy`. Solves branch-juggling chaos by enabling parallel work on features, PRs, or tests without stashing.

Why is it gaining traction?

Interactive fzf menus for branch selection, multi-select batch ops, and dry-run previews beat vanilla git worktree commands for speed and safety. Auto-tracks upstreams on remote branches and offers experimental `git wt migrate` to refactor existing repos, preserving stashes and changes. Among git custom commands, its bare structure keeps workspaces clean, drawing devs frustrated with git github desktop clutter.

Who should use this?

Backend engineers developing features while testing hotfixes, open-source maintainers reviewing PRs next to mainline work, or solo devs managing git github gitlab side branches. Perfect for those deep in git worktree wtp flows who want git custom ssh key-like simplicity without git github com permission denied publickey windows hassles.

Verdict

Solid experiment for worktree power users, with polished CLI, Homebrew/Nix installs, and pass-through to native git worktree ops—but 31 stars and 1.0% credibility score signal low maturity; migrate is experimental, so test on non-critical repos first.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.