Get to Know Git: Lesson 8 of 14

Cloning Repositories

Up Next

Getting Started with Branches

Autoplaying in 7 seconds!

Cancel

O

Table of Contents

    nce we have a remote repo (on GitHub or elsewhere), we'll need a way to bring that project onto our own computer. Cloning will do the trick for us:

    git clone git@github.com:scotch-io/my-repo.git

    Make sure that your SSH keys are setup and you have access to that repo. If you use the SSH url (git@github.com), then you will authenticate with SSH keys. If you use the HTTPS way (https://github.com/) then you'll authenticate with user/pass.

    Chris Sevilleja

    176 posts

    Founder of Scotch.io. Google Developer Expert in Web Technologies. Slapping the keyboard until something good happens.