git

Install command:
brew install git

Distributed revision control system

https://git-scm.com

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: 2

Depends on:

curl 8.23.0 Get a file from an HTTP, HTTPS or FTP server
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: 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 days859,820
Downloads44,815,805
Analytics install events (30 days)133,849
Downloads / install events (30 days)6.4×

Source: GitHub Packages, fetched 2026-11-03T00:38:28Z. Analytics dates: 2026-10-04 to 2026-11-03. 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 days90 days365 days
Installs133,597273,4411,418,942
Installs (--HEAD)2524492,568
Installs on Request130,463267,6561,389,004
Installs on Request (--HEAD)2524492,568
Build Errors196

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.