Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Rename branch

Add a new branch-name and remove the current branch-name.

git checkout OLD
git branch -M main

It is basically the same as:

git branch main
git checkout main
git branch -d OLD