How do I rename a branch?

Locally, in place. The remote keeps the old name until you deal with it.

A local branch can be renamed from the sidebar.

Renaming does not touch the remote. Locally the branch has a new name; on the server it still has the old one — and the renamed branch goes on tracking it, because a rename keeps the branch’s configuration.

To finish the job:

  1. With the branch checked out, push. The branch it tracks has another name, so the push is Publish Branch: it publishes the branch under its new name, and makes that the upstream in place of the old one. See pushing.
  2. Delete the old branch on the remote, outside Innesta — on the provider’s site, or with git push <remote> --delete <old-name>.