checkout_repository
checkout_repository(repo, wdir);
static void checkout_repository(const char *, const char *);