how to switch git branch name code example
Example 1: rename branch git
git branch -m <new_name>
Example 2: git toggle between branches
Toggle between two git branches: git checkout -
git branch -m <new_name>
Toggle between two git branches: git checkout -