git
brew install gitDistributed revision control system
License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-3-Clause AND MIT
Development: Pull requests
Formula JSON API: /api/formula/git.json
Formula code: git.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 2.56.1 |
| head | ⚡️ | HEAD |
Depends on:
| pcre2 | 10.49 | Perl compatible regular expressions library with a new API |
| gettext | 1.0 | GNU internationalization (i18n) and localization (l10n) library |
Depends on when building from source:
| gettext | 1.0 | GNU internationalization (i18n) and localization (l10n) library |
| pkgconf | 3.0.10 | Package compiler and linker metadata toolkit |
Uses from macOS: curl, expat
Binaries:
git,
git-cvsserver,
git-receive-pack,
git-shell,
git-upload-archive,
git-upload-pack,
scalar
| The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula. Subversion interoperability (git-svn) is now in the `git-svn` formula. |
GitHub Packages downloads:
| Last 30 days | 858,073 |
|---|---|
| Downloads | 45,243,408 |
| Analytics install events (30 days) | 132,556 |
| Downloads / install events (30 days) | 6.5× |
Source: GitHub Packages, fetched 2026-11-14T00:20:06Z. Analytics dates: 2026-10-15 to 2026-11-14. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 132,300 | 296,681 | 1,423,643 |
Installs (--HEAD) | 256 | 521 | 2,593 |
| Installs on Request | 128,932 | 289,827 | 1,394,338 |
Installs on Request (--HEAD) | 256 | 521 | 2,593 |
| Build Errors | 205 |
Known vulnerabilities in the current version:
| CVE-2026-86219 (critical) | Authen::SASL::Perl::DIGEST_MD5 versions before 2.2100 for Perl accept replayed authentication res... |
Data from Homebrew/advisory-database. Run brew vulns git for a live check.