Automic VaultAutomic Vault

brew

Install git-machete with Homebrew, apk, Nix, scoop

Git repository organizer & rebase workflow automation tool. Version 3.44.0 via Homebrew; verified 2026-07-01.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install git-machete

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add git-machete

Alpine Linux edge package indexes · git-machete · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#git-machete

nixpkgs package indexes · pkgs/by-name/gi/git-machete/package.nix · source: api.github.com

Windows

Scoopverified · 92%
scoop install main/git-machete

Scoop official bucket manifest trees · bucket/git-machete.json · source: api.github.com

overview

Package summary

Git repository organizer & rebase workflow automation tool

Commands and aliases

  • git-machete

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2018: Public GitHub repository created.
  • 2023: 3.25.0 added GitLab support and a Scoop package.
  • 2024: 3.31.0 added GitHub and GitLab PR/MR description update commands.
  • 2026: 3.38.0 added interactive `git machete go` branch selection.
  • 2026: 3.41.0 added an agent skill and branch rename command.

Related projects

  • git-machete relates to Git itself, stacked-branch review workflows, GitHub and GitLab CLI tooling, and the VirtusLab git-machete IntelliJ plugin. It overlaps with rebase helpers, but its defining abstraction is a persistent branch layout.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
.git/machete.git/worktrees/.../machete.git/modules/.../machete

executables

Installed executables

CommandKindExposureNote
git-machetecliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version3.44.0
manager updated2026-07-01
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/VirtusLab/git-machete

install metadata

Package metadata

Package keybrew:git-machete
Version3.44.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/git-machete
Homepagehttps://github.com/VirtusLab/git-machete
Repositoryhttps://github.com/VirtusLab/git-machete
Upstream docshttps://git-machete.readthedocs.io/en/stable
LicenseMIT
Source archivehttps://files.pythonhosted.org/packages/d2/ba/4717ff3d30455cbadf7efd9c0e98aa52b4db2cb0353bd3bd5e91ee3bd483/git_machete-3.44.0.tar.gz
Last updated2026-07-01T16:59:11Z
Pulseupdated
Dependenciespython@3.14
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegit-machete
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

git-machete

nix profile install nixpkgs#git-machete
  • normalized package name match
  • Matched by: Git Machete
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/git-machete/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

git-machete 3.42.0-r0

git repository organizer & rebase/merge workflow automation tool

https://github.com/VirtusLab/git-machete

sudo apk add git-machete
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-machete
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Git Machete
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-machete from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-machete-bash-completion 3.42.0-r0

Bash completions for git-machete

https://github.com/VirtusLab/git-machete

sudo apk add git-machete-bash-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-machete
  • normalized package name match
  • Matched by: Git Machete
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-machete-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-machete-fish-completion 3.42.0-r0

Fish completions for git-machete

https://github.com/VirtusLab/git-machete

sudo apk add git-machete-fish-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-machete
  • normalized package name match
  • Matched by: Git Machete
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-machete-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-machete-pyc 3.42.0-r0

Precompiled Python bytecode for git-machete

https://github.com/VirtusLab/git-machete

sudo apk add git-machete-pyc
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-machete
  • 1 dependencies
  • normalized package name match
  • Matched by: Git Machete
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-machete-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-machete-zsh-completion 3.42.0-r0

Zsh completions for git-machete

https://github.com/VirtusLab/git-machete

sudo apk add git-machete-zsh-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-machete
  • normalized package name match
  • Matched by: Git Machete
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-machete-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
Scoop95%

main/git-machete

scoop install main/git-machete
  • normalized package name match
  • Matched by: Git Machete
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/git-machete.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment