code: public void cloneTo(File newRepoDir, GitRepositoryFormat format) {
          cloneTo(newRepoDir, format, (current, total) -> { /* no-op */ });
      }
docs: Clones this repository into a new one.
  
  @param format the repository format