A Local Remote-Tracking Ref Can Be Stale While Git Says You Match Upstream
Comparing HEAD with origin/main proves consistency with the last fetched view, not with the current remote repository.
Comparing HEAD with origin/main proves consistency with the last fetched view, not with the current remote repository.