you must install git before installing homebrew code example Example: homebrew install git brew install git #Check your Install using git --version