git branch — a parallel line of work

A branch is a movable label on your history. New commits go to the branch you're on, leaving other branches untouched — perfect for trying an idea without risking main.

Create a branch named practice and switch to it in one move:

!cd git-playground && git checkout -b practice

Then click Check — it verifies practice is now your current branch.