git init
git init creates a .git folder
git add <filename> (or * for everything)
git commit -m "Commit message"
git status
git diff <filename>
And again...
git log
git checkout -b feature_x
git log
Branches are used to develop features isolated from each other.
git merge <branch>
git log
This is what the graph looks like after the merge.
git remote add origin <server>
git push origin master
git log
And lots more...