What is a fast-forward merge?
A fast-forward merge happens when the target branch has not diverged — meaning, there
re no new commits on main since you branched off. Git simply moves the branch pointer
forward to include all your new commits, without creating a new merge commit.
Example:
If main has not changed since you created your feature/navbar branch, merging it back
will simply “fast-forward” main to the latest commit.
git merge feature/navbar
No merge commit — just a pointer move.