installing git in mac code example
Example 1: download git for mac
$ brew install git
Example 2: latest version of git
/ we need to type both of them git fetch origin git reset --hard origin/master
$ brew install git
/ we need to type both of them git fetch origin git reset --hard origin/master