Clone your GitHub repository


  1. GitHub: click on the green <> Code button, choose the SSH URL to secure your connection, and copy your repository’s URL.


  1. RStudio: create a new project


  1. RStudio: select Checkout a project from a version control repository


  1. RStudio: select Clone a project from a Git repository


  1. RStudio: paste the URL of your GitHub repository into ‘Repository URL’. Do not locate this new Git repository in the folder created in the first tutorial (i.e. so that each folder has its own Git database). Click Create Project. Your password will be requested.


  1. RStudio: Click on the Files tab to check that it contains all the files from the GitHub repository