add support for multiple repo-clone methods.