change definition of repository clone