How to: Connect SKEMA Quantum Studio to GitHub

Integrate GitHub into your daily work with R and R Markdown.

Thierry Warin (SKEMA Business School (Raleigh, NC))

SKEMA Quantum Studio makes it easy for you to connect your documents to GitHub. (Bryan 2019) Take a look at this course!

Create a GitHub account

Create an account on, it’s free!

Or, if you already have one, go to the next step.

Create a GitHub repository

Make sure you are logged in on GitHub.

Click on the green “New repository” button. Or, if you are on your own profile page, click on “Repositories”, then click on the green “New” button.

How to fill this in:

Click on the green button “Create repository.”

Copy the HTTPS clone URL to your clipboard via the green “Clone or Download” button.

Connect GitHub on RStudio

In RStudio, start a new Project:

File > New Project > Version Control > Git.

In “Repository URL”, paste the URL of your new GitHub repository. It will be something like this

Accept the default project directory name, e.g. myrepo, which coincides with the GitHub repo name.

Take charge of – or at least notice! – where the Project will be saved locally. A common rookie mistake is to have no idea where you are saving files or what your working directory is. Pay attention. Be intentional.

Click “Create Project”.

You should find yourself in a new local RStudio Project that represents the new test repo we just created on GitHub. This should download the file from GitHub. Look in RStudio’s file browser pane for the file.

Change, Save, Commit

From RStudio, modify the file, e.g., by adding the line “This is a line from RStudio”. Save your changes.

Commit these changes to your local repo. How?

From RStudio:

Click the “Git” tab in upper right pane. Check “Staged” box for If you’re not already in the Git pop-up, click “Commit”. Type a message in “Commit message”, such as “Commit from RStudio”. Click “Commit”.

Push to GitHub

Click the green “Push” button to send your local changes to GitHub. If you are challenged for username and password, provide them (but see below). You should see some message along these lines.

[master dc671f0] blah
 3 files changed, 22 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 myrepo.Rproj

Confirm the local change propagated to the GitHub remote. Go to the browser on your new GitHub repo page.


You should see the new “This is a line from RStudio” in the README.

If you click on “commits”, you should see one with the message “Commit from RStudio”.

If you have made it this far, you are DONE with set up.

Bryan, Jennifer. 2019. Happy Git and GitHub for the useR.


For attribution, please cite this work as

Warin (2019, June 11). Virtual Campus: How to: Connect SKEMA Quantum Studio to GitHub. Retrieved from

BibTeX citation

  author = {Warin, Thierry},
  title = {Virtual Campus: How to: Connect SKEMA Quantum Studio to GitHub},
  url = {},
  year = {2019}