https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
$git init
$git add <file(s)>
$git status
$git commit
$git push
$git pull
$git clone
$git config --global user.name(email)
i for insert to type
esc to get out again
:wq to commit
$git commit -m "What changed comment"
$git remote //check if there is a remote repo
$git remote add origin https://github.com/suekieza/LearnGit.git
$git push -u origin master
$git clone https://github.com/suekieza/LearnGit.git
$git pull
$git restore <file(s)> //if file is in origin repo
$git checkout <file(s)> //if file is only in stage local
$git commit --amend -m "Change masg in commitlog" //previous commit(changes commit tag)
$git commit cherry-pick
$git reset --soft //keeps work in stage
$git reset --mixed //keeps work in folder structures
$git reset --hard //Removes all work
$git clean -df //directories and files
$git reflog //life saver see history
$git revert //fix commits without changing history
$git diff //see changes between to commits or branches