---
categories:
- DevOps
tags: [git, procedural]
# Rename a branch
### In local development
```bash
git branch -m <old_name> <new_name>
```
### Update the remote
git push origin -u <new_name>