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
Download Visual Studio Code. Free and built on open source. Integrated Git, debugging and extensions. Mac macOS 10.10+ By. Teletype for Atom. Great things happen when developers work together—from teaching and sharing knowledge to building better software. Teletype for Atom makes collaborating on code just as easy as it is to code alone, right from your editor. You can navigate to and click the download button for the installer package that looks like the following image as of, showcasing git version 2.15.1. After I clicked download, I received the file git-2.15.0-intel-universal-mavericks.dmg which I then doubled clicked on.
Install homebrew if you don't already have it, then:
$ brew install git
Xcode
Apple ships a binary package of Git with Xcode.
Git Extensions Free Download
Binary installer
Tim Harper provides an installer for Git. The latest version is 2.27.0, which was released 3 months ago, on 2020-07-22.
Building from Source
Git Download Mac Os
If you prefer to build from source, you can find tarballs on kernel.org. The latest version is 2.29.2.