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

Android Android Tools Using Git for Android Creating a New GitHub Project

Requires command line developer tools via Xcode?

I tried to use the Terminal on my Mac (Yosemite) to clone the Github project as the video showed, but a dialog box popped up and said:

The "git" command requires the command line developer tools. Would you like to install the tools now?

Choose Install to continue. Choose Get Xcode to install Xcode and the command line developer tools from the App Store.

I looked up the error and then I tried to install Git through the Git's website and the error still popped up. Also, tried to "Share Project on GitHub" and the error popped up saying "Error Running Git" Errors while executing git -- version. exit Code=1 .

Looked up Android Studio Preferences under Version Control and the Path to Git executable is: /usr/bin/git. I even looked through the folder and found the path to the executable and it still doesn't work.

Any help is appreciated. Thanks.