discard all unstaged files
git restore .
undo git add
git reset .
add current staged changes to the last commit
git commit --amend --no-edit
copy commit by id
git cherry-pick 'commitID'
sync with remote
git fetch --prune
interactive rebase in entire branch
git rebase -i --root 'branchName'
push to all branchs
git push -all 'remoteName'
ignore case sensitivity
git config core.ignorecase true
get remote url
git remote show origin