# Install git-branchless with Homebrew, apk, MacPorts, Nix, pacman, scoop

High-velocity, monorepo-scale workflow for Git. Version 0.11.1 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:git-branchless
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install git-branchless
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install git-branchless
```

  Evidence: MacPorts ports tree: devel/git-branchless/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add git-branchless
```

  Evidence: Alpine Linux edge package indexes: git-branchless from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#git-branchless
```

  Evidence: nixpkgs package indexes: pkgs/by-name/gi/git-branchless/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S git-branchless
```

  Evidence: Arch Linux sync databases: git-branchless from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/git-branchless
```

  Evidence: Scoop official bucket manifest trees: bucket/git-branchless.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:git-branchless
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-branchless>
- **Version:** 0.11.1
- **Source summary:** High-velocity, monorepo-scale workflow for Git
- **Homepage:** <https://github.com/arxanas/git-branchless>
- **Repository:** <https://github.com/arxanas/git-branchless>
- **Upstream docs:** <https://github.com/arxanas/git-branchless/wiki>
- **License:** Apache-2.0 OR MIT
- **Source archive:** <https://github.com/arxanas/git-branchless/archive/refs/tags/v0.11.1.tar.gz>
- **Last updated:** 2026-06-22T14:03:30-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- git-branchless (cli)
- git-branchless (alias)

## Dependencies

- libgit2

## Build dependencies

- pkgconf
- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.11.1
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/arxanas/git-branchless
- Upstream latest detected: v0.11.1 (current)
## Project history and usage

git-branchless is a Rust suite of Git workflow tools for undo, smart logs, commit-stack manipulation, restacking, syncing, and fast monorepo-scale history operations.

### Project history

The repository opened in 2020 and grew around a branchless workflow idea: users can commit directly, treat branches as optional labels, and manipulate commit graphs without fear of losing work. The README presents the tool as compatible with branches while adding undo, smartlog, restack, sync, move, next, prev, and interactive switch commands.

The design goals describe git-branchless as an incremental improvement path for Git users and a test bed for workflows later explored by Jujutsu. Its emphasis is practical rather than academic: reduce Git complexity, increase developer velocity, and keep commands fast enough for very large repositories.

### Adoption history

git-branchless became one of the better-known modern Git workflow experiments. The project documents package-manager installation, Cargo installation, Git hooks, shell alias integration, discussions, Discord, and a user survey, and it benchmarks ideas against large repositories such as Linux and Mozilla's gecko-dev.

Its related-tools page places it in the same ecosystem as Stacked Git, git-stack, git-ps, Jujutsu, Sapling, git-absorb, git-autofixup, and git-revise, making it part of the broader move toward stacked-diff and mutable-history workflows.

### How it is used

Practitioners install the executable, run git branchless init inside each repository, and then use git sl for a smart log, git undo for repository-level undo, git restack to repair abandoned descendants, git sync to rebase local stacks, and git move to manipulate subtrees of commits without checking them out.

### Why package nerds care

For package maintainers, git-branchless is notable because it ships a Rust CLI with Git hook integration, Cargo distribution, packages across several ecosystems, and commands that intentionally wrap or augment ordinary Git rather than replacing the repository format.

### Timeline

- 2020: Repository created.
- 2021: Public 0.x tags began with v0.1.0 and expanded through frequent 0.3 releases.
- 2024: v0.10.0 continued the pre-1.0 release line.
- 2026: v0.11.1 was published in the same 0.x series.

### Related projects

- Related and adjacent tools include Jujutsu, Sapling, Stacked Git, git-stack, Git Patch Stack, git-absorb, git-autofixup, git-revise, Git itself, and large monorepo workflows.

### Sources

- <https://api.github.com/repos/arxanas/git-branchless>
- <https://formulae.brew.sh/formula/git-branchless>
- <https://github.com/arxanas/git-branchless>
- <https://github.com/arxanas/git-branchless/releases>
- <https://github.com/arxanas/git-branchless/wiki>
- <https://github.com/arxanas/git-branchless/wiki/Design-goals>
- <https://github.com/arxanas/git-branchless/wiki/Installation>
- <https://github.com/arxanas/git-branchless/wiki/Related-tools>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-branchless
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - git-branchless: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-branchless/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - git-branchless - 0.10.0-r2: normalized package name match | Alpine Linux edge package indexes: git-branchless from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Suite of tools to help you visualize, navigate, manipulate, and repair your commit graph | https://github.com/arxanas/git-branchless
- apk - git-branchless-doc - 0.10.0-r2: normalized package name match | Alpine Linux edge package indexes: git-branchless-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Suite of tools to help you visualize, navigate, manipulate, and repair your commit graph (documentation) | https://github.com/arxanas/git-branchless
- pacman - git-branchless - 0.11.1-1: normalized package name match | Arch Linux sync databases: git-branchless from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | High-velocity monorepo-scale workflow for Git | https://github.com/arxanas/git-branchless
- MacPorts - git-branchless: normalized package name match | MacPorts ports tree: devel/git-branchless/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/git-branchless: normalized package name match | Scoop official bucket manifest trees: bucket/git-branchless.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [libgit2](https://www.automicvault.com/pkg/brew/libgit2/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [braid](https://www.automicvault.com/pkg/brew/braid/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [codeberg-cli](https://www.automicvault.com/pkg/brew/codeberg-cli/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [dura](https://www.automicvault.com/pkg/brew/dura/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [gcli](https://www.automicvault.com/pkg/brew/gcli/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-cinnabar](https://www.automicvault.com/pkg/brew/git-cinnabar/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-cola](https://www.automicvault.com/pkg/brew/git-cola/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-extras](https://www.automicvault.com/pkg/brew/git-extras/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control, workflow.
- [git-flow](https://www.automicvault.com/pkg/brew/git-flow/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control, workflow.
- [git-series](https://www.automicvault.com/pkg/brew/git-series/) - Package names and metadata indicate a similar tool family. Shared terms: cli, control, developer, developer-tools, git.
- [git-workspace](https://www.automicvault.com/pkg/brew/git-workspace/) - Package names and metadata indicate a similar tool family. Shared terms: cli, control, developer, developer-tools, git.

## Combined YAML source

View the package source record on GitHub. [combined/git-branchless.yml](https://github.com/automic-vault/db/blob/main/combined/git-branchless.yml)


## Sources

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