Use git shell command instead of pygit2 for checkout