Not everyone wants Git to do merges. Suppose you have made one or two new commits, which we'll call
I
andJ
, and yourgit fetch
fromorigin
brings in two new commits that they made since you started, which we will callK
andL
. That gives you a set of commits that, if you were to draw them, might look like this:I--J <-- your-branch / ...--G--H <-- main K--L <-- origin/main
You can fast-forward your
main
to match theirorigin/main
:I--J <-- your-branch / ...--G--H K--L <-- main, origin/main
very very very good answer.