Use GIT_CHECKOUT_SAFE_CREATE as checkout strategy.

Otherwise, no file will be checked out.