Search⌘ K
AI Features

Branches

Explore the fundamentals of Git branches, including how branches allow multiple lines of development within a repository. Understand the role of branches for managing experimental changes separately from the main project line.

What are branches?

In case you have not looked at a source control tool before, “branching” is a core concept.

Repository with no branch

A series of changes to a repository might look like this:

Direction of arrows in Git diagrams
The arrows in the above diagram point backward in time. This is ...