Concept

Git branch

A movable name for a commit. Creating a branch does not switch the working tree; a commit on the active branch advances its tip.

Formal Syntax & Structure

git syntaxgit
refs/heads/NAME

Working Example

Example Snippetgit
git branch idea
Git Reference