Combines a sequence of commits to a new base commit.

git pull --rebase

Rebase Interactively

git rebase -i origin/main