Git Resources

GitHub

Please be aware that we will be using github.com instead of github.mit.edu. This will ensure your work is accessible to those outside the MIT network, including yourself after graduation or future employers. You may find it more convenient to add your MIT email address(es) to your personal GitHub account (see this doc for more information) so that you can work more seamlessly across the two GitHubs with other classes.

SSH Tokens

In order to clone the repositories we provide to you and push your code to them without needing to sign in every time, you will need to create an SSH token on your machine and add it to GitHub to verify your identity. Follow the instructions here to add a new SSH key to your GitHub account.

Basic Git Commands

Clone: git clone <repository-name>

Add: git add <file(s)/directory/directories>

Commit: git commit -m <message>

Push: git push origin master

Tag: git tag -a v<number>.<number> -m "<commit message>"
git push origin v<number>.<number>

Other Git Resources

Installation Guide

Documentation

Git Tutorial

Graphical User Interface

GitHub Classroom Tutorial (First 3 mins. You can watch the rest but keep in mind that the project shown is not for this class)

Another good place to brush up is your 6.1020 (6.031) course notes!