Basic Git and GitHub tutorial
(overcoming command-line bullGITtery)
November 2014 (assistant professor)
Here are three short videos to introduce beginners to the basics of the Git version control system and the GitHub online service.
I've been using Git since it first came out around 2006, and I still don't have a deep understanding of its bazillions of arcane options. Weirdly enough, before I discovered Git, I wrote my own super-simple version control system that coincidentally incorporated some of its basic principles. So when I discovered Git, I was ecstatic that someone had solved my version control problems for reals! Then I got super-confused trying to learn it.
In these three short videos, I try to distill Git down to its very basics. This tutorial isn't meant to be comprehensive. Command-line programs like Git have insane numbers of intricate options that I can't possibly cover in half an hour. However, after you learn the basics, it will be easier for you to learn more details down the line. So let's get started!
Part 1: Using Git to track one single file
Why use Git? Creating a basic Git repository with one single file.
Part 2: Tracking multiple files with Git
How do you manage multiple files in a Git repository? Recaps previous
commands and introduces the
Part 3: Introduction to GitHub
How do you back up your Git repository and share it with collaborators?
Introduces the GitHub service for hosting Git
repositories online, and the
Last modified: 2014-11-20