git add .
git commit -am "msg"
git push origin master
git checkout nazwa_brancha
Najpierw pobrać commity z remote
git checkout old
git pull
Zmiana nazwy lokalnie, usunicie i dodanie pod now nazwą:
git branch -m old new
git push origin new
git push origin :old