Glossary term
What is branch? Meaning for developers
A movable pointer to a commit. Creating one is cheap because it is just a name.
Learn it properly · Git & GitHubLesson 0: The Mental Model: Snapshots, Commits and BranchesThe working tree, the staging area and the repository, how a commit is a snapshot with a parent, and how branches and HEAD are just pointers.