install git mac code example
Example 1: download git for mac
$ brew install git
Example 2: git mac
xcode-select --install
Example 3: git bash mac
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/fabriziocucci/git-bash-for-mac/master/install.sh)"