Rebase keeps your history tidy and your code reviews sane. You replay your feature branch on top of the latest main , no extra merge bubbles, easier bisects, cleaner blame.
What you'll learn
* Set up a repo with main and a diverged feature branch
* Update main, then rebase feature