Do git fetch before checking version