macOS
brew install legitlocal Homebrew formula metadata
sudo port install legitMacPorts ports tree · devel/legit/Portfile · source: api.github.com
brew
Command-line interface for Git, optimized for workflow simplicity. Version 1.2.0.post0 via Homebrew; verified 2026-07-22. Also installable with debian: sudo apt install legit.
install
brew install legitlocal Homebrew formula metadata
sudo port install legitMacPorts ports tree · devel/legit/Portfile · source: api.github.com
sudo apt install legitDebian stable package indexes · legit · source: deb.debian.org
nix profile install nixpkgs#legitnixpkgs package indexes · pkgs/by-name/le/legit/package.nix · source: api.github.com
scoop install main/legitScoop official bucket manifest trees · bucket/legit.json · source: api.github.com
overview
Command-line interface for Git, optimized for workflow simplicity
history
Legit is a small Python CLI that wraps common Git branch workflows in human-oriented commands such as `sync`, `switch`, `publish`, and `unpublish`.
Kenneth Reitz created Legit in the early 2010s as part of his broader 'for Humans' style of developer tools. The project translated parts of GitHub for Mac's opinionated branch workflow back to the command line: auto-stashing during branch switches, simple publish/unpublish commands, and a sync operation that handled fetch, merge or rebase, push, and unstash.
The maintained package identity later centered on Frost Ming's `frostming/legit` repository and `frostming.github.io/legit` documentation. PyPI metadata for the package lists Kenneth Reitz among maintainers and authorship, while the repository topic and README preserve the GitHub-for-Mac inspiration.
Legit spread through Python packaging first, with PyPI releases beginning in 2011 and later system packaging through Homebrew, Debian, Ubuntu, MacPorts, Nix, and Scoop. Its appeal peaked in the period when Git workflows were still intimidating to many new developers and GUI clients were influencing command-line ergonomics.
Package users install the `legit` command and run it inside Git repositories. Its commands are deliberately narrower than raw Git: switch branches while preserving worktree changes, sync a published branch, publish or unpublish branches, and list branch publication status.
Legit is package-nerd history because it captures a particular moment in Git tooling: instead of exposing every Git feature, it offered a tiny vocabulary for a common feature-branch workflow. It also sits in the lineage of Kenneth Reitz's Python packaging era, where branding, API empathy, and CLI polish were treated as part of open-source distribution.
security posture
No matching local secret-handling manifest was found for legit. 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.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
legit | 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://frostming.github.io/legit/
install metadata
| Package key | brew:legit |
|---|---|
| Version | 1.2.0.post0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/legit |
| Homepage | https://frostming.github.io/legit/ |
| Repository | https://github.com/frostming/legit |
| Upstream docs | https://frostming.github.io/legit |
| License | BSD-3-Clause |
| Source archive | https://files.pythonhosted.org/packages/cb/e4/8cc5904c486241bf2edc4dd84f357fa96686dc85f48eedb835af65f821bf/legit-1.2.0.post0.tar.gz |
| Last updated | 2026-07-22T10:44:30Z |
| 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 | legit |
| Version Scheme | 0 |
| Revision | 11 |
| Head Version | HEAD |
| 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.
legit 1.2.0.post0-5
Git extension to assist in manipulating branches
https://github.com/frostming/legit
sudo apt install legitlegit
nix profile install nixpkgs#legitlegit 1.2.0.post0-3
Git extension to assist in manipulating branches
https://github.com/frostming/legit
sudo apt install legitlegit
sudo port install legitmain/legit
scoop install main/legitsource 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.