Installation first degree Niang, tried a lot of methods are unsuccessful, especially the way of command line, several methods are network problems, is estimated to be related site in demolished is Qiang more serious.
And then through Google's first results, both http://git-scm.com/downloads/the latest package downloaded in the page
After the download is complete, the installation is successful,
and run which git at the terminal to get the result:
/usr/bin/git
Run git--version at the terminal to get the result:
git version 1.9.3 (Apple Git-50)
At this point, git should be successfully installed in the system.
For now, installation under Windows should not be difficult, so refer to this link:
Http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/ 00137396287703354d8c6c01c904c7d9ff056ae23da865a000
Install git summary under OSX 10.10.3