`git rev-parse --verify --quiet  #{min_revision}` is probably simpler?