How is version leadership defined in git?

when submitting code to a remote repository in git, it often prompts us that the local version lags behind the remote repository, so let"s git pull, first. So how is this version ahead defined? What is the submission time of commit? But my local commit is the latest? I"m confused. I"d like to ask the boss to explain!

Git
Apr.07,2021

remote warehouse first! As long as there is something in the remote warehouse that you do not have locally, it is called version leading.

Menu