Lazygit
- Press
3
to go to 3. Local Branches panel - Select a branch (using
↓
/↑
/🖱️) - Press
R
to rename the branch
Basic Terminal
git branch -m <oldname> <newname>
3
to go to 3. Local Branches panel↓
/↑
/🖱️)R
to rename the branchgit branch -m <oldname> <newname>