Update clone checkout strategy to GIT_CHECKOUT_SAFE_CREATE

Per the libgit2 docs on what checkout strategy should be used for cloning