Checkout `$LIMS2_COMMIT` after `git clone`.

`git clone --branch` cannot checkout a plain commit id.  Use `git
checkout` instead.