Parallel Worlds
Commit on two different branches and watch history fork.
Here's where branches get powerful: two lines of work can grow at the same time. Commit on main, switch to the other branch, commit there, and the picture forks into parallel worlds.
This is how real teams work: one person fixes a bug on one branch while someone else builds a feature on another, and neither gets in the other's way.
This repository already has a branch called feature. Make one commit on main, then one on feature.
git switch <name>Hop between the two worlds.git commit -m "message"Each commit lands on whichever branch HEAD is on.git log --onelineThe log only shows the history of the branch you are on.Your task
Commit on two different branches and watch history fork.
Open this level in your browser to type the commands at a live git prompt with an animated commit graph.