Lazygit
- Press
3to go to 3. Local Branches panel - Select a branch (using
↓/↑/🖱️) - Press
Rto 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>