Skip to content

Getting started on GitHub

GitHub is an online database for git repositories. git is a command-line application that helps version control software.

On Mac

  1. Install the homebrew package manager: https://brew.sh/
  2. Install Visual Studio Code: https://formulae.brew.sh/cask/visual-studio

In Visual Studio Code

  1. Open Visual Studio code, sign in, sync your settings by signing in with GitHub
  2. Install the Extension: https://marketplace.visualstudio.com/items?itemName=REditorSupport.r
  3. Click clone repository and select this repository. If you want an extra layer of backup, you can clone the repository to your google drive or dropbox.

For version control in Visual Studio

  1. Look for the source control icon below the search icon
  2. Click on the source control menu bar (the three dots)
  3. Select pull to pull changes, or select push to push changes you make locally.
  4. Have it good

To try Copilot as a Student

  1. Get verified as a student with your .edu email for the GitHub student developer pack: https://education.github.com/pack or https://docs.github.com/en/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/apply-to-github-global-campus-as-a-student
  2. Install the extension: https://marketplace.visualstudio.com/items?itemName=GitHub.copilot
  3. Follow these steps to enable it: https://docs.github.com/en/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio-code
  4. Open a piece of R code and try it out.
  5. Read the tutorial on R: https://code.visualstudio.com/docs/languages/r