Checkout specified branch/revision after cloning

The `clone -b` option does not support revision.