Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Brandon Selfors
Brandon Selfors
5,019 Points

OS X 10.8 Git not found

Hello I am having an issue connecting with Git. I found a forum that said I needed to update my xcode. Is this true? In the git fundamentals coarse, the teach said that git is installed natively on mac but my basic command of flagging the version git --version prompts an the error above. Any suggestion?

3 Answers

Tommy Morgan
STAFF
Tommy Morgan
Treehouse Guest Teacher

Hrm. If it's saying "command not found" then it's not installed. I wonder if my information was just bad, at least for 10.8. What happens if you install Xcode?

Alternately, if you don't want to install Xcode for some reason, you can get an installer for git from the official website at http://git-scm.com. This is a pretty straightforward install so you can just accept the default options all the way - that should get git on your system and have you ready to roll.

James Barnett
James Barnett
39,199 Points

You can check to see if git is installed by using the which git command

Brandon Selfors
Brandon Selfors
5,019 Points

I did and nothing. I am reading alot about git not working on my os for some reason... any other advice?

Brandon Selfors
Brandon Selfors
5,019 Points

I just installed it as you said and it works. I thought it came natively but it not for my machine. Oh well. Thanks for your help man!