I have set up git and homebrew, ran brew reset-update, brew update and brew doctor none of these give me errors but when I try to install
brew reset-update
brew update
brew doctor