How to Create a New Branch in Github Command Line
- George Apostolov
How to Create a New Branch in Github Command Line: step-by-step guide
In the 'Code' section click 'Brand'.
Click on the 'New branch' button.
Enter the name of your branch in the empty field.
Select 'Create new branch'.
That's it! You have successfully created a new branch.
You can start switching branches and work with new branches in Github.
Quick answer: To create a new branch in the GitHub command line, click 'Brand' in the 'Code' section, then click 'New branch'. Enter your branch name in the empty field and select 'Create new branch' to successfully finish.
About this GitHub tutorial
Create a new branch in GitHub by clicking Brand in the Code section, entering a branch name, and selecting Create new branch. This guide shows how to create a New Branch in Github Command Line in 6 steps, starting with "In the 'Code' section click 'Brand'" and finishing with "You can start switching branches and work with new branches in Github". The interactive demo above is a click-through copy of the real GitHub interface, so you can rehearse each step before doing it in your own account.
Frequently asked questions
How many steps does it take to create a New Branch in Github Command Line?
6 steps. Each one is listed in order above, and the demo highlights exactly where to click.
Can I try it without changing my own account?
Yes. Clicking through the demo doesn't touch your GitHub data or settings. Once you know the flow, repeat it in your own workspace.
This tutorial is filed under GitHub. Related guides: How to Create a Personal Access Token in Github, How to Create a Pull Request in Github and How to Create a Tag in Github. Last reviewed 05 Oct 2026.
Create your first interactive demo in minutes
No credit card required • Start building today





