# What is a Branch? — Git

Source: https://www.geekswithgeeks.com/en/git/git-what-is-branch

> A lightweight, movable pointer to a line of commits.

## Just a pointer

A branch in Git is just a **named pointer** to a commit. Creating one is nearly instant — no copying of files.

## Parallel timelines

Think of branches as **parallel timelines** for your project — experiment on one without touching `main`, then bring the good parts back together later.
