git branch -m oldName newName
git push origin newName
git push --delete origin oldName
To http://11.11.11.11/demo/demo.git - [deleted] oleName