This is an introduction guide to the Git Version Control System.
Open your terminal and install Git using Homebrew:
$ brew install git
Verify that the installation was successful by typing which git --version:
$ git --version
git version 2.9.2
Config your new Git credentials
Configure your Git username and email using the following commands: (These details will be associated with any commits that you create)
$ git config -—global user.name “Name Lastname”
$ git config —-global user.email “our_email@example.com”
Check your new Git config
$ git config --list
user.name=Name Lastname