How to Create a Branch on GitHub

This minHour teaches you how to create a new branch in your GitHub repository.

Steps

Log in to your GitHub account.

If you haven’t yet done so, go to GitHub in a web browser, click at the top-right corner, and then log into your account.

Open the main page of your repository.

Click the Branch menu.

It’s at the top-left corner of your repository. A list of your current branches will appear.

Type a name for your new branch.

If your branch name will include more than one word, use hyphens (-) instead of spaces.

Press ↵ Enter or ⏎ Return.

Your new branch is now active.

Leave a Comment