Beginners guide that helps with git commands.
git config --global user.name "Your name"
git config --global user.mail "name@email.com"
git config --global core.editor "code --wait"
git config --global -e
git config --global core.autocrlf input
git config --global core.autocrlf true
git config -h
git init
git add .
git commit -m "Initial commit"
git rm file
git mv filename filename
git status
git status -s
git diff
git diff --staged
git log
git log --oneline
git branch
git branch -vva
git checkout -b name
git branch -d branchName
git branch --delete branchName
git switch branchName
git merge branchName
git remote add origin www.github.com
git push origin branchName
git push origin branchLocalName:branchRemoteName
git push -u origin main
git remote -v
git remote rm name
git remote remove name newname
git whatchanged