One of the management methods that git mainly advocates is branch management, so this should be mastered by everyone who learns git.
Branch view:
git branch
Branch establishment:
git branch newBranch commit or:
git checkout -b newBranch commit
Branch switching:
git checkout anotherBranch
Delete branch:
git branch -D existBranch (delete the branch regardless of whether it is merged or not)
git branch -d existBranch (delete the merged branch)