Install Git & GitHub

To get the most out of this workshop, we will typically work within RStudio Projects (.Rproj) and encourage you to use Git (via GitHub using RStudio) for version control. You can use RStudio as the Git GUI, so there is no need to install a separate GUI unless you have your own favorite. If you would like to use GitHub during the workshop, please follow the steps below from the online book Happy Git with R:

Installation

  1. Register a GitHub account
  2. Install Git
  3. Introduce yourself to Git

Connect Git, GitHub, RStudio

  1. Connect to GitHub
  2. Do one of the following:
  3. Connect RStudio to Git and GitHub

Test-drive

We encourage you to follow a “New project, GitHub first” workflow. This means that if you want to work locally, you’ll want to be comfortable doing the following steps:

  1. Make a repo on GitHub
  2. Make a new RStudio project via git clone
  3. Make local changes, save, commit
  4. Push your local changes to GitHub