git init
git log --all --decorate --oneline --graph
git status
git stash
git stash list
git add .
or
git add SPECIFIC_FILE
git commit -m "title"
git remote add origin REPO_URL
git push
git commit --amend -m "New commit message"
git update-ref -d HEAD
git branch
git checkout -b NEWBRANCH
git checkout branchname
git branch -d BRANCHNAME
git branch --merged
git diff MAIN...BRANCHNAME
git checkout MAIN
git merge BRANCHNAME
show all remotes
git remote -v
add remote
git remote set-url --add --push origin git://original/repo.git
git checkout <commit-id>
git remote add github https://yourLogin@github.com/yourLogin/yourRepoName.git
git push --mirror github