Tim Harper provides an installer for Git. If you prefer to build from source, you can find tarballs on kernel.org. The official stand-alone installer for Git on OS X.
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.
Homebrew
Install homebrew if you don't already have it, then:$ brew install git
Xcode
Apple ships a binary package of Git with Xcode.
Binary installer
Tim Harper provides an installer for Git. The latest version is 2.31.0, which was released 10 days ago, on 2021-03-16.
Building from Source
If you prefer to build from source, you can find tarballs on kernel.org. The latest version is 2.31.1.
Installing git-gui
Git Osx Installer
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