git install mac homebrew code example Example: homebrew install git brew install git #Check your Install using git --version