Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Java

What is the correct git clone command for this course?

the git clone command mentioned in the teacher's note does not work. git clone git@github.com:treehouse/giflib-hibernate.git

Teacher's note should be updated with the correct git command. git clone https://github.com/treehouse/giflib-hibernate.git

3 Answers

Why make things more complicated bringing ssh into the picture for the learners of this course.

I have never seen any course on other online platforms asking their students using git over ssh to clone the git repository.

git clone https://github.com/treehouse/giflib-hibernate.git
Gergely Horvath
PLUS
Gergely Horvath
Courses Plus Student 8,207 Points

The teachers command uses git over ssh. Your command uses git over http. If you are on windows you need to configure ssh for git. Easiest way to download and install putty pack. Then you have to add an environment variable named GIT_SSH and set it to the value of the location of plink.exe, default is C:\Program Files\PuTTY\plink.exe. Also you might consider adding your public ssh key to git.