Git says it's in sync on the PSU side but is actually not

The Git sync feature in PSU says that it’s in sync with our Azure DevOps repo, but if you look on the Azure side it shows some of the items haven’t been updated since last week when they’ve actually been updated as recently as yesterday.

I fixed this by forcing a complete overwrite using a Git client installed on the PSU server, which at one point showed me a message alluding to there being some sort of index corruption. After forcing the overwrite, things are back to working, but I’d still like to know why BOTH sides would think they’re in sync (despite files being drastically different than each other) and NEITHER side actually say there’s something wrong.