Skip to content

Create and delete branches

Now you can create and delete branches from GitHub.com. Create a branch In your repository's branch selector, just start typing a new branch name. We'll give you the option to…

Author

Now you can create and delete branches from GitHub.com.

Create a branch

In your repository’s branch selector, just start typing a new branch name. We’ll give you the option to create a new branch:

create-branches

We’ll branch off of your current context. For example, if you’re on the bugfix branch, we’ll create a new branch from bugfix instead of master. Looking at a commit or a tag instead? We’ll branch your code from that specific revision.

Delete a branch

You’ll also see a delete button in your repository’s Branches page:

delete-branches

As an added bonus, we’ll also give you a link to the branch’s Pull Request, if it has one.

Collaborate without the terminal

For small changes like documentation fixes, typos, or if you’re just a walking software compiler, you can get a lot done in your browser without needing to clone the entire repository to your computer:

Happy branching!

Explore more from GitHub

Product

Product

Updates on GitHub products and features, hot off the press.
GitHub Universe 2024

GitHub Universe 2024

Get tickets to the 10th anniversary of our global developer event on AI, DevEx, and security.
GitHub Copilot

GitHub Copilot

Don't fly solo. Try 30 days for free.
Work at GitHub!

Work at GitHub!

Check out our current job openings.