Download for macOS
There are several options for installing Git on macOS. Note that any non-source distributions are provided by third parties, and may not be up to date with the latest source release.
Choose one of the following options for installing Git on macOS:
Install homebrew if you don't already have it, then:
$ brew install git
Install MacPorts if you don't already have it, then:
$ sudo port install git
Apple ships a binary package of Git with Xcode.