rebase
rebase — Replaying your commits on top of a different starting point, so your branch looks like it was built from the latest version of main.
Rebase keeps the project history tidy — instead of a messy merge, your changes look like they were made after everyone else's. It's powerful and a bit dangerous, which is why beginners are often told "don't rebase shared branches."
"Rebase onto main." "Interactive rebase."