Rename a local branch git branch -m <oldname> <newname> Delete a remote branch $ git push origin :<branch-simple-name> Publish a local branch (with remote tracking enabled) $ git push -u origin my-new-feature '-u' option introduced since git 1.7, as helper to get local and remote branch in sync...