# Install git-mob with Homebrew

CLI tool for including co-authors in commits. Version 4.0.1 via Homebrew; verified 2026-06-18.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install git-mob
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:git-mob
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-mob>
- **Version:** 4.0.1
- **Source summary:** CLI tool for including co-authors in commits
- **Homepage:** <https://github.com/rkotze/git-mob/blob/master/packages/git-mob>
- **Repository:** <https://github.com/rkotze/git-mob>
- **Upstream docs:** <https://github.com/rkotze/git-mob#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/git-mob/-/git-mob-4.0.1.tgz>
- **Last updated:** 2026-06-18T09:25:51+09:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- git-add-coauthor (cli)
- git-mob (cli)
- git-mob-print (cli)
- git-solo (cli)
- git-suggest-coauthors (cli)
- git-add-coauthor (alias)
- git-mob (alias)
- git-mob-print (alias)
- git-solo (alias)
- git-suggest-coauthors (alias)

## Dependencies

- node

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.0.1
- Package-manager updated: 2026-06-18
- Local data: ok
- Upstream repository: https://github.com/rkotze/git-mob
- info: No cached GitHub release or tag data was available.
## Project history and usage

Git Mob is a command-line tool for adding co-author trailers to Git commits during pair programming and mob programming. It keeps a local list of co-authors and updates commit-message templates or hook-based flows so commits include the people working together.

### Project history

Richard Kotze published the Git Mob repository in February 2018. The repository is organized as a workspace, with the Git Mob CLI package and a shared git-mob-core package for reusable co-author logic.

The changelog shows the CLI growing from a simple co-author helper into a TypeScript and Node-based toolchain. The 2.x line integrated git-mob-core for core features; 3.0.0 moved to ESM and Node 16; 4.0.0 completed a TypeScript migration for main files and removed lower-value edit/delete commands.

### Adoption history

Git Mob follows the adoption of GitHub's `Co-authored-by` commit trailers, which make commits visible as co-authored on GitHub. The tool packages that convention for teams that pair or mob frequently, reducing the friction of remembering names, emails, and trailer formatting.

Its distribution is centered on npm and Homebrew, with a related Visual Studio Code extension and a reusable core package. That makes it especially relevant to JavaScript-heavy teams and collaborative coding shops that switch between terminal and editor workflows.

### How it is used

Users configure their primary Git author normally, store teammates in `.git-coauthors`, then run commands such as `git mob ad bd` to select co-authors by initials. Subsequent commits include `Co-authored-by` trailers; `git solo` returns to a solo author flow.

The CLI can add co-authors, suggest co-authors from repository history, print the active mob, fetch GitHub no-reply author details when enabled, and support commit-message hooks for users who commit with `git commit -m`.

### Why package nerds care

Git Mob is package-nerd interesting because it turns a social collaboration convention into a Git subcommand and a tiny local data file. It also shows how a CLI can bridge Git config, commit templates, npm packaging, Homebrew packaging, and editor extensions without needing a server.

### Timeline

- 2018: Public GitHub repository created.
- 2023: git-mob 2.5.0 integrated git-mob-core for main CLI features.
- 2023: git-mob 3.0.0 moved to ESM and required Node 16.
- 2024: git-mob 4.0.0 completed the main TypeScript migration and changed the command set.
- 2025: git-mob 4.0.1 fixed exact co-author email filtering.

### Related projects

- Git Mob relates to GitHub's co-author trailer support, the Git Mob VS Code extension, git-mob-core, and older pairing tools such as git-duet. It differs from general commit-template tools by centering the pair or mob roster.

### Sources

- <https://api.github.com/repos/rkotze/git-mob>
- <https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors>
- <https://formulae.brew.sh/formula/git-mob>
- <https://github.com/rkotze/git-mob#readme>
- <https://github.com/rkotze/git-mob/blob/master/CHANGELOG.md>
- <https://github.com/rkotze/git-mob/tree/master/packages/git-mob>


## Security Notes

narrow executable package without higher-risk signals.

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


## 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: $GITMOB_COAUTHORS_PATH, .git-coauthors, ~/.git-coauthors
## Source Database Details

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


## 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.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [mob](https://www.automicvault.com/pkg/brew/mob/) - Shares av.db curated category or tags: cli, collaboration, developer-tools, git, mob-programming.
- [gitea](https://www.automicvault.com/pkg/brew/gitea/) - Shares av.db curated category or tags: cli, collaboration, developer-tools, git, version-control.
- [aicommit](https://www.automicvault.com/pkg/brew/aicommit/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [aicommit2](https://www.automicvault.com/pkg/brew/aicommit2/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [aicommits](https://www.automicvault.com/pkg/brew/aicommits/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [braid](https://www.automicvault.com/pkg/brew/braid/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [cig](https://www.automicvault.com/pkg/brew/cig/) - 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.
- [git-extras](https://www.automicvault.com/pkg/brew/git-extras/) - Package names and metadata indicate a similar tool family. Shared terms: authors, cli, coauthor, commits, control.
- [git-split-diffs](https://www.automicvault.com/pkg/brew/git-split-diffs/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, control, developer, developer-tools, git.
- [git-now](https://www.automicvault.com/pkg/brew/git-now/) - Package names and metadata indicate a similar tool family. Shared terms: cli, commits, control, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/git-mob.yml](https://github.com/automic-vault/db/blob/main/combined/git-mob.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
- cross-ecosystem install command graph
