Git CLI installation on Mac OS X
The purpose of this section is to guide you to install the Git CLI in your development environment.
Git is responsible for everything GitHub-related that happens locally on your computer.
Latest current version is available at: https://git-scm.com/downloads.
Select the Download for Mac button:
Open your Downloads folder and double clic on the git-2.10.1-intel-universal-mavericks.dmg file.
Then, double-click the package in the disk image hat has been mounted on the desktop.
This installs git to /usr/local/git, and places symlinks into /usr/local/bin and /usr/share/man/.
If you see the following error message that prevents you from installing the Git CLI:
You need to modify temporarily the system preferences.
In System Preferences, click on the Security & Privacy icon (General Tab).
You should see the following info:
Click the Open Anyway button. The installer should start now:
Select all default installation steps until completion:
More on Git
You can read more on Git at : https://git-scm.com/book/en/v2