Lazygit
- Press
3to go to 3. Local Branches - Select an existing branch with
↓/↑(orsingle click) - Press
n, to create a new branch - Enter branch name into pop-up menu.
- Add#screenshot of pop-up menu for entering branch name
- Press
enter. To continue. - You should now see your new branch created and checked out (with
*star)- Add#screenshot of new branch with star
Basic Terminal
git checkout -b <new-branch-name> <existing-branch-name>
# or if existing-branch-name is currently checked out
git checkout -b <new-branch-name>