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

Eleni Minadaki
Eleni Minadaki
3,687 Points

Git clone is not recognized

Hi!i write git clone and then copy-paste https://github.com/Heleni/Workshop-App.git from githib to my command prompt but it can't recognized. The warning is:'git' is not recognized as an internal or external command. Do anyone know what i should to to fix it? Thanks!

2 Answers

Chris Shaw
Chris Shaw
26,676 Points

Hi Eleni,

The message you're seeing is telling you GIT isn't installed on your PC, you can install GIT by downloading the executable at the below link.

http://git-scm.com/downloads

NOTE: During the installation you will see a screen like the below, make sure you check the button that says "Use Git from the Windows Command Prompt" which is the second option, once the installation is complete restart your PC and you will now be able to us the git command.

Install GIT in PATH

Hope that helps.

Eleni Minadaki
Eleni Minadaki
3,687 Points

Hi Chris,thanks for your response It helps me a lot!