To view all of the 300+ tutorials on Simple Dev, sign up for a 10-day free trial below.

GitHub Basics

Summary

Below you will find a collection of tutorials teaching the basics of GitHub, the version control system.

Before You Start

These tutorials assume you have a basic understanding of the terminal and Git.

Exercises

The GitHub exercises to go along with these tutorials are included in our Git exercises repository on GitHub. You don’t have to know how to use GitHub to use them. Just click the green Code button in the corner and click the Download ZIP option. Then unzip the folder and open it in your text editor.

If you’ve already downloaded the Git exercises repository before for the Git Basics section, you can continue working on it.

Tutorials

Introduction

Why should I use GitHub?

Learn why you should use GitHub.

Sign up for GitHub

Learn how to sign up for GitHub.

GitHub Workflow

Create a remote repository

Learn how to create a remote repository on GitHub.

Clone a repository

git clone https://github.com/username/repo-name.git

Add a remote repository to your project

git remote add origin https://github.com/username/repo-name.git

Add a collaborator to a repository

Learn how to add a collaborator to your remote repository on GitHub.

Push changes to your remote repository

git push remote-repo-name branch-name

Create a pull request

Learn how to create a pull request on GitHub.

Get changes from remote repository

git fetch origin

Advanced workflow

Learn an advanced workflow you can use with Git and GitHub.

* work in progress

** coming soon