how to change name of a branch in local machine code example
Example 1: change local branch name
git branch -m <newname>
Example 2: git change branch name
git branch –m old-name new-name
git branch -m <newname>
git branch –m old-name new-name