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
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:
ls
lists all the files and folders under current directorycd xxx
changes to the directory named xxx
There are more bash commands that may be helpful and you can find them here: