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.
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.
Tim Harper provides an installer for Git. The latest version is 2.33.0, which was released almost 2 years ago, on 2021-08-30.
Building from Source
If you prefer to build from source, you can find tarballs on kernel.org. The latest version is 2.41.0.
If you would like to install git-gui and gitk,
git's commit GUI and interactive history browser, you can do so using homebrew
$ brew install git-gui