git rename remote branch visual studio code example Example: rename branch git git branch -m <new_name>