vs code rename branch code example Example: edit branch name git Click to copy$ git checkout Branch-Name-You-Want-to-Change $ git branch -m New-Branch-Name