Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed Homebrew and fixed all of the errors that brew doctor reports, except this one:

martinjames$ brew doctor
Warning: An outdated version of Git was detected in your PATH.
Git 1.7.10 or newer is required to perform checkouts over HTTPS from GitHub.
Please upgrade: brew upgrade git

I take homebrew's advice:

martinjames$ brew upgrade git
Error: git not installed

So, I check for git:

martinjames$ which git

And I check for the version:

martinjames$ git --version
git version

What's next?

share|improve this question

migrated from May 9 '13 at 3:21

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

So the answer involved two things. First, I needed to do this:

brew update

And then this:

brew install git

The brew doctor command reported a problem with my path, so I ended up creating a .bash_profile in my home directory to make sure /usr/local/bin came before /usr/bin.

Now I'm ready to brew!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.