Skip to main content

What is a branch in Git?

A branch in Git is a separate container or context for changes. Any changes that you make in the context of the currently active branch will be kept separate from all other branches. This also means that any bugs or mistakes will only affect the branch they were committed in.

Developers are then able to work independently on a feature - without affecting their teammates when bugs (inevitably) occur.

All of this makes branches an invaluable tool for software projects of any size.

The Git Cheat Sheet

No need to remember all those commands and parameters: get our popular "Git Cheat Sheet" - for free!

Free. We email you a ZIP with our cheat sheets.


In case you are using the Tower Git client, creating and managing branches is very easy. Many operations can simply be performed by using drag and drop!



Learn More

Free download

Download the Cheat Sheet

Get 18 of our most popular Cheat Sheets in one handy ZIP!