The easiest way to install Git on a Mac is via the stand-alone installer:ĭownload the latest Git for Mac installer. You may want to install a newer version of Git using one of the methods below: Git for Mac Installer $ git -version git version 2.7.0 (Apple Git-66)Īpple actually maintain and ship their own fork of Git, but it tends to lag behind mainstream Git by several major versions. To find out, open a terminal and enter git -version. In fact, if you've installed XCode (or it's Command Line Tools), Git may already be installed.
There are several ways to install Git on a Mac.