Scenario
Branch state
Current step 9/9
$ git merge feature
The histories diverged so fast-forward is impossible — a merge commit with two parents is created. (If main hadn't moved, the pointer would just slide forward — that's FF.)
$ git log --oneline --all
c6 (HEAD -> main) Merge branch 'feature'
c5 hotfix
c4 (feature) feat B
c3 feat A
c2 base feature
c1 init
File content (at HEAD) — app.js @ main
Circles are commits; dimmed circles were abandoned by rebase/reset. A prime (c3') means same content, rewritten hash. In sandbox mode, run commands yourself with the buttons.