GIT ‘er done!

A guide to understanding GitHub (intended to be narrated by Daniel Lawrence Whitney)

Larry the Cable Guy (Daniel Lawrence Whitney)

What is GitHub?

But what is version control?

Version control is the process of storing multiple versions of a single project, allowing each version to be recalled at a later date.

Local vs Remote Version Control

The way that many users interact with GitHub revolves around the idea and differences between local and remote version control with the majority of confusion coming from a misunderstanding of what you are updating/working on and where that file is being saved. A local version control system stores all of the information on your computer, locally. This system works great while you work on a project by yourself. However, it becomes cumbersome when you attempt to collaborate.

The basic steps of how to use GitHub are:

  1. Forking a repository GitHub.
  2. git clone to clone a repository to your local computer.
  3. git status to see the status of your locally cloned git repository.
  4. git add . to add your local changes to be committed.
  5. git commit -am "Commit Message" to commit changes that have been added with a message.
  6. git push to upload your local changes to GitHub.
  7. Opening a Pull Request on GitHub.

How to interact with GitHub

The first thing to do, as is a best practice when working on any projects, is to copy a lab and so as to prevent any unwanted changes being permanently saved on the original copy. On GitHub this is known as forking a lab and is done by selecting the Fork option in the top right of the screen. You would then select your profile to copy it to.



Student of data science, trying to understand this world one byte at a time.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store