git branch
Action: this will list all the branches
git branch -M main
Action: Change name
git branch <BRANCH NAME>
Action: checkout to new branch
git branch -d <BRANCH NAME>
Action: this will delete a branch