git
Install command:
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.0 |
| head | ⚡️ | HEAD |
Revision: 1
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.8 | 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. |
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.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 107,409 | 260,938 | 1,471,014 |
Installs (--HEAD) | 188 | 352 | 2,633 |
| Installs on Request | 105,153 | 256,007 | 1,438,091 |
Installs on Request (--HEAD) | 188 | 352 | 2,633 |
| Build Errors | 1,185 |