Complete Reference Guide
git add <file>
git add .
git add -A
git add --all
git add -A.git branch
git branch <name>
git branch -m <new>
git branch -d <name>
git branch -D <name>
git checkout <branch>
git checkout -b <branch>
git checkout origin/main <file>
git clone <url>
git commit -m "msg"
git commit -am "msg"
git commit --amend
git config --global user.name "..."
git config --global user.email "..."
git config --global init.defaultBranch main
git diff
git diff <branch_B> <branch_A>
git fetch
git help <command>
git <command> -h
git init
git log
git log <branch_B> <branch_A>
git log --oneline
git log --stat -M
git merge <branch>
git mv <old> <new>
git pull <remote>
git push <remote> <branch>
git push -u origin <branch>
git rebase <branch>
git remote add origin <name> <repository url>
git reset <file>
git reset HEAD~1 <file>
git reset-- hard <commit_id>
git rm <file>
git rm --cached <file>
git rm -r <folder>
git status
git switch <branch>
git switch -c <branch>