I tell to my teammate to always use "git pull --rebase" and to define a "pr" alias to make it short.
It should not be required if they follow the rule to never commit directly to a main branch, but there is always someone that does it by mistake and this prevents the creation of an unwanted merge.