Frequently Used Git Commands
Posted 9 months, 3 weeks ago
Creating a new branch in git
> git checkout branch-name
Switching to branch in git
> git switch branch-name
Create & immediately switch to a newly created branch in git
> git checkout -b branch-name
Checking the current branch name in Git
git branch --show-current