how install git and homebrew code example
Example 1: homebrew install git
brew install git
#Check your Install using
git --version
Example 2: install homebrew git mac
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"