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

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.