A full tutorial on how to use GitHub

Practicus AI
8 min readSep 7, 2018

Want to be inspired? Come join my Super Quotes newsletter. 😎

Have you recently started using Git? Or maybe you’ve been using it for a while but its many mysteries are still confusing.

Git is primarily a version control system and a staple in any software development project. It usually serves 2 main purposes: code backup and code versioning. You can work on your code step-by-step, saving each step’s progress along the way in case you need rollback to a backup copy!

The common trouble is that Git can be tricky to use. There are times where versions and branches are out of sync and you spend serious time just trying to push your code! even worse, not knowing how exactly certain commands work could easily lead to accidentally deleting or overwriting bits of code!

That’s why I’ve prepared this tutorial, to teach you how to properly use git so we can all get on to coding!

Install and setup

Installing

First thing’s first, we have to install git to use it! We can do it quick and easy using apt:

sudo apt install git-all

Basic setup

If you’d like, you can go ahead and save your git username and email so that you won’t have to enter them…

--

--