Clone a repository

copy repo link to create a new Rstudio project from the repository.

Create new project in Rstudio

Checkout from version control repository

Clone project from a git repository

Paste repo link copied from GitHub into Repository URL field. Click Create Project.

Rstudio project now contains all files from the GitHub repo.