Tools/VirtusLab/git-machete

git-machete

No description available.

1.1k+2/wkemergingPythonMITtrending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Mar 2026

Git-machete keeps track of which branch depends on which and automates the rebasing. You define your branch tree, and it handles the cascading rebases that would otherwise take 15 minutes of manual work.

Fully free under MIT. Install via pip or Homebrew. No paid tier, no hosted version. It adds commands to Git: `git machete discover` auto-detects your branch structure, `git machete traverse` walks through branches and rebases them in order, and `git machete status` shows the tree visually.

The catch: this is a power-user tool. If you work on one branch at a time and merge to main, you don't need it. The value only kicks in with stacked PRs or complex branch hierarchies. And the learning curve is real; you need to understand Git's rebase model well enough to know what git-machete is doing on your behalf. The has_pricing_page flag is misleading; the PyPI link isn't a pricing page, the tool is free.

Free vs Self-Hosted vs Paid

fully free

Fully open source under MIT. No paid tier. The PyPI listing is just the package index, not a pricing page.

Zero cost. pip install git-machete or brew install git-machete.

Time savings: If you regularly maintain 3+ stacked branches, manual rebasing takes 10-20 minutes per chain. git-machete's traverse command does it in seconds. Over a month, that's 2-4 hours saved for an active developer.

Commercial alternatives: Graphite ($15/user/month) offers stacked PRs with a hosted service and GitHub integration. git-machete is free but local-only, no PR management, no team features.

Free forever. No paid tier. CLI tool installed via pip or Homebrew.

Self-hosting ops:trivial
View pricing page →

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Similar Tools

Score
71/100 · B+
Adoption12/30
Maintenance25/25
Community9/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

Growing adoption: 1,105 starsPermissive license (MIT)

About

Owner
VirtusLab (Organization)
Stars
1,132
Forks
66

Explore Further

More tools in the directory