Finish refactoring git_clone() and hg_clone() into clone().