We are using git lfs lock
(GitHub's open source git extension) to prevent conflicts with binary files. The problem is that sometimes people forget to pull the latest version of a file, they lock the file and work on it but get rejected when trying to push.
So how can I quickly check if I have the latest version of the file, before locking it?