git pull not replicating?

From: Andy Farkas <andyf_at_andyit.com.au>
Date: Sat, 18 Jun 2022 13:57:14 UTC
If I do a 'git pull' in /usr/ports usually it updates a few files
and I think 'good, my ports tree is in sync with upstream'. And if
I do it again shortly afterwards, I get:

root:/usr/ports # git pull
Already up to date.
root:/usr/ports #

Which is also good.

But if I do this:

root:/usr/ports # mv ftp /root/
root:/usr/ports # git pull
Already up to date.
root:/usr/ports #

..which is obviously false.

Now my belief that I am in sync with upstream is shattered.

Is there a git incantation that will make sure my tree is fully
in sync with upstream?

Thanks,

-andyf

ps.

root:/usr/ports # cat .git/config
[core]
         repositoryformatversion = 0
         filemode = true
         bare = false
         logallrefupdates = true
[remote "origin"]
         url = https://git.freebsd.org/ports.git
         fetch = +refs/heads/main:refs/remotes/origin/main
[branch "main"]
         remote = origin
         merge = refs/heads/main