macOS
brew install git-machetelocal Homebrew formula metadata
brew
Git repository organizer & rebase workflow automation tool. Version 3.44.0 via Homebrew; verified 2026-07-01.
install
brew install git-machetelocal Homebrew formula metadata
sudo apk add git-macheteAlpine Linux edge package indexes · git-machete · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#git-machetenixpkgs package indexes · pkgs/by-name/gi/git-machete/package.nix · source: api.github.com
scoop install main/git-macheteScoop official bucket manifest trees · bucket/git-machete.json · source: api.github.com
overview
Git repository organizer & rebase workflow automation tool
history
git-machete is a Git repository organizer for stacked and multi-branch workflows. It records a branch layout, shows the relation between branches, and automates repeated rebase, merge, push, pull, and pull-request maintenance tasks across a chain of branches.
VirtusLab published the project as a public GitHub repository in February 2018. The README presents the tool around a bird's-eye view of a repository and a `.git/machete` layout file, with commands such as `discover`, `status`, `go`, `traverse`, and `advance`.
The 3.x release notes show the project expanding from local branch traversal into code-hosting workflows. Releases added GitHub and GitLab pull-request or merge-request commands, generated PR/MR description sections for branch chains, worktree handling, interactive branch selection, shell completions, and an agent skill for AI coding tools.
git-machete has unusually broad packaging for a workflow-specific Git extension. The project's own package matrix lists PyPI, Conda Forge, Homebrew, Alpine, AUR, Gentoo, nixpkgs, Scoop, Snap, GitHub Releases, and Read the Docs. The README also points to an IntelliJ Platform plugin, giving the workflow both CLI and IDE surfaces.
This adoption pattern fits teams that review stacked pull requests or maintain several dependent topic branches. Instead of asking users to remember the stack in their heads, the package makes the branch graph explicit and scriptable.
Practitioners start with `git machete discover` to infer and edit a branch layout, then use `git machete status` to inspect whether branches are in sync with their parents. `git machete traverse` walks the layout and performs rebases, merges, pulls, and pushes as needed.
The tool is also used to create or retarget GitHub pull requests and GitLab merge requests from the parent branch recorded in `.git/machete`. That makes it useful for small, focused pull requests that still depend on each other.
git-machete is package-nerd interesting because it turns a social workflow problem, the review and maintenance of branch stacks, into a small text file plus a Git subcommand. Its broad package matrix also shows the work required for a Python CLI to feel native across Linux distributions, macOS, Windows package managers, shells, and IDEs.
security posture
No matching local secret-handling manifest was found for git-machete. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.git/machete.git/worktrees/.../machete.git/modules/.../macheteexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
git-machete | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/VirtusLab/git-machete
install metadata
| Package key | brew:git-machete |
|---|---|
| Version | 3.44.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/git-machete |
| Homepage | https://github.com/VirtusLab/git-machete |
| Repository | https://github.com/VirtusLab/git-machete |
| Upstream docs | https://git-machete.readthedocs.io/en/stable |
| License | MIT |
| Source archive | https://files.pythonhosted.org/packages/d2/ba/4717ff3d30455cbadf7efd9c0e98aa52b4db2cb0353bd3bd5e91ee3bd483/git_machete-3.44.0.tar.gz |
| Last updated | 2026-07-01T16:59:11Z |
| Pulse | updated |
| Dependencies | python@3.14 |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | git-machete |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
git-machete
nix profile install nixpkgs#git-machetegit-machete 3.42.0-r0
git repository organizer & rebase/merge workflow automation tool
https://github.com/VirtusLab/git-machete
sudo apk add git-machetegit-machete-bash-completion 3.42.0-r0
Bash completions for git-machete
https://github.com/VirtusLab/git-machete
sudo apk add git-machete-bash-completiongit-machete-fish-completion 3.42.0-r0
Fish completions for git-machete
https://github.com/VirtusLab/git-machete
sudo apk add git-machete-fish-completiongit-machete-pyc 3.42.0-r0
Precompiled Python bytecode for git-machete
https://github.com/VirtusLab/git-machete
sudo apk add git-machete-pycgit-machete-zsh-completion 3.42.0-r0
Zsh completions for git-machete
https://github.com/VirtusLab/git-machete
sudo apk add git-machete-zsh-completionmain/git-machete
scoop install main/git-machetesource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.