Version Control with git

In this workshop we’ll look at how to use the tool git for version control, and how to use GitHub as a way of working with your git controlled directories (i.e., repositories or repos) in the cloud. In this first video, I’ll introduct you to the wonders of git.

Slides

You can view and download the slides in a variety of formats by clicking on the image below.

link_to_slides

Setting up git on Windows

In the following video I’ll show you how to set up git on Windows.

Setting up git on MacOS

In the folllwing video I’ll show you how to set up git on MacOS.

Using RStudio with git

RStudio has some git functionality built in. In this video I’ll show you how to use the git tab in RStudio to add, commit, and push local changes to GitHub. I’ll also show you how to do the same via the command line.

Using Jupyter Notebooks with git

In this video I’ll show you how to set up a new repo on GitHub, clone it, and version control a Jupyter Notebook.

Some Additional Resources

If you’re interested in learning about git from a more computer science perspective (incl. gaining an insight into what’s going on under the head), you’ll might be interested in watching these two videos from the Computerphile YouTube channel:

Git Overview

link_to_slides

Inside the Hidden Git Folder

link_to_slides