git: updated version check