This tutorial is to provide an overview of using git for GitHub projects. It answers the following questions:

Please note the tutorial assumes you have a unix-based system on your machine (Linux/MacOS systems or WSL on a Windows machine). For WSL on a Windows machine, please go through the WSL tutorial first:

Install Ubuntu on WSL2 and get started with graphical applications | Ubuntu

0. Getting started on GitHub and bash commands

First, you will need to create a GitHub account by signing up on https://github.com/

Then you will be able to browse projects on GitHub and can be added as a collaborator to existing projects.

In addition, we use bash commands to work with git in terminals. Here are a list of key commands that we use in this tutorial:

There are more bash commands that may be helpful and you can find them here:

  1. https://www.educative.io/blog/bash-shell-command-cheat-sheet
  2. https://github.com/RehanSaeed/Bash-Cheat-Sheet
  3. https://learncodethehardway.org/unix/bash_cheat_sheet.pdf