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