Essential Git commands cheat sheet — staging, committing, branching, remotes and history.
git clone <url>git add <file>git commit -m "msg"git switch -c <name>git switch <name>git merge <name>git branch -d <name>git push -u origin <branch>git log --onelinegit restore --staged <file>git restore <file>git commit --amend