You can either complete this tutorial online using only GitHub, in which case you need a to have a (free) account.
Or you can use a local repository (with or without a linked GitHub account). In this case you need a local installation, instructions are as follows:
- (Recommended for Windows/MacOS) For
git
+ a slim and essential GUI: GitHub Desktop. - (Other OS/Else) See instructions here
Depending whether you use GitHub only online or a local installation, go to different websites:
- If you are using GitHub online, follow this Git Hello World! example.
- If you are using git locally, follow steps 1. to 5. of this guide.
Note for users of GitHub Desktop:
No dedicated examples for you today, but you can follow the link above in the GUI as well.
The command names given are identical to the buttons you are looking for in the GUI.
I have faith in you, you will figure it out! :)
Source: Tom Blount - A basic git workflow
git status
git add
git commit -m "(Message)"
git push
git pull
git branch
git checkout
git log
git diff
git merge