# Install git-town with Homebrew, MacPorts, Nix, pacman, scoop, zypper

High-level command-line interface for Git. Version 23.0.3 via Homebrew; verified 2026-06-21.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install git-town
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install git-town
```

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

### Linux

- Nix (92%):

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

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

- pacman (92%):

```sh
sudo pacman -S git-town
```

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

- zypper (92%):

```sh
sudo zypper install git-town
```

  Evidence: openSUSE Tumbleweed package metadata: git-town from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

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

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

## Package facts

- **Package key:** brew:git-town
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-town>
- **Version:** 23.0.3
- **Source summary:** High-level command-line interface for Git
- **Homepage:** <https://www.git-town.com/>
- **Repository:** <https://github.com/git-town/git-town>
- **Upstream docs:** <https://www.git-town.com/>
- **License:** MIT
- **Source archive:** <https://github.com/git-town/git-town/archive/refs/tags/v23.0.3.tar.gz>
- **Last updated:** 2026-06-21T15:37:11Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- git-town (cli)
- git-town (alias)

## Build dependencies

- go

## 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: 23.0.3
- Package-manager updated: 2026-06-21
- Local data: ok
- Upstream repository: https://github.com/git-town/git-town
- Upstream latest detected: v23.0.3 (current)
## Project history and usage

Git Town is a high-level Git command-line interface for managing feature branches, stacked changes, pull requests, and branch cleanup. It wraps common multi-branch workflows in memorable commands such as hack, sync, propose, ship, append, prepend, and swap.

### Project history

The GitHub repository was created in 2014. The project grew from branch workflow automation into a broader Git productivity layer that supports Git Flow, GitHub Flow, GitLab Flow, trunk-based development, monorepos, and stacked changes.

The command set and configuration model continued to evolve through the 2020s. The documentation describes configuration files named git-town.toml, .git-town.toml, and .git-branches.toml, while the changelog records work on stacked proposal breadcrumbs, direct commits into ancestor branches, forge connectors, CI/headless behavior, and configuration precedence.

### Adoption history

Git Town's adoption is tied to teams that want a consistent branch lifecycle without replacing Git hosting. Package availability through Homebrew, MacPorts, Nix, pacman, Scoop, and zypper makes the same workflow commands installable across developer workstations.

### How it is used

Practitioners use Git Town to create up-to-date feature branches, synchronize branch stacks, create pull or merge requests, navigate branch hierarchies, ship completed work, and clean up local and remote branches. In stacked-change workflows, commands such as append, prepend, set-parent, diff-parent, and swap encode parent-child branch relationships that plain Git does not model directly.

### Why package nerds care

The package is significant because it shows how much workflow policy can live in a Git extension without requiring a hosted service. It is a single CLI that packages branch naming, stack metadata, forge integration, and cleanup behavior into reproducible local commands.

### Timeline

- 2014: Git Town repository created.
- 2025: Git Town 22.5.0 added proposal breadcrumbs for stacked branches and a commit command for committing into ancestor branches.
- 2026: Git Town 23.0.0 changed up/down navigation semantics and documented non-interactive behavior for headless environments.

### Related projects

- Git Town sits beside Git itself, GitHub and GitLab forge CLIs, stacked-change tools, and branch-management workflows such as Git Flow and trunk-based development.

### Sources

- <https://api.github.com/repos/git-town/git-town>
- <https://formulae.brew.sh/formula/git-town>
- <https://github.com/git-town/git-town>
- <https://raw.githubusercontent.com/git-town/git-town/main/CHANGELOG.md>
- <https://raw.githubusercontent.com/git-town/git-town/main/README.md>
- <https://www.git-town.com/>
- <https://www.git-town.com/all-commands>
- <https://www.git-town.com/configuration-file.html>


## Security Notes

No matching local secret-handling manifest was found for git-town. Nucleus package metadata is still published here so future coverage has a stable package URL.



## 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

- Unix: git-town.toml, .git-town.toml, .git-branches.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-town
- **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-town: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-town/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - git-town - 23.0.2-1: normalized package name match | Arch Linux sync databases: git-town from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Generic, high-level Git workflow support | https://github.com/git-town/git-town
- zypper - git-town - 23.0.2-1.1: normalized package name match | openSUSE Tumbleweed package metadata: git-town from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Git branches made easy | https://github.com/git-town/git-town
- zypper - git-town-bash-completion - 23.0.2-1.1: normalized package name match | openSUSE Tumbleweed package metadata: git-town-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash Completion for git-town | https://github.com/git-town/git-town
- zypper - git-town-fish-completion - 23.0.2-1.1: normalized package name match | openSUSE Tumbleweed package metadata: git-town-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Fish Completion for git-town | https://github.com/git-town/git-town
- zypper - git-town-zsh-completion - 23.0.2-1.1: normalized package name match | openSUSE Tumbleweed package metadata: git-town-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Zsh Completion for git-town | https://github.com/git-town/git-town
- MacPorts - git-town: normalized package name match | MacPorts ports tree: devel/git-town/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/git-town: normalized package name match | Scoop official bucket manifest trees: bucket/git-town.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.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [git-branchless](https://www.automicvault.com/pkg/brew/git-branchless/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control, workflow.
- [git-delete-merged-branches](https://www.automicvault.com/pkg/brew/git-delete-merged-branches/) - Shares av.db curated category or tags: branch-management, 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-fresh](https://www.automicvault.com/pkg/brew/git-fresh/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control, workflow.
- [git-integration](https://www.automicvault.com/pkg/brew/git-integration/) - Shares av.db curated category or tags: branch-management, cli, developer-tools, git, version-control.
- [git-machete](https://www.automicvault.com/pkg/brew/git-machete/) - Shares av.db curated category or tags: branch-management, cli, developer-tools, git, version-control.
- [git-now](https://www.automicvault.com/pkg/brew/git-now/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control, workflow.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
