@Override
  public boolean checkout(final @NotNull Map<String, String> parameters,
                          final @NotNull VirtualFile parentDirectory, @NotNull String directoryName) {

    ProgressManager.getInstance().getProgressIndicator().setText(DvcsBundle.message("cloning.repository", parameters));
    IdeFrame frame = IdeFocusManager.getGlobalInstance().getLastFocusedFrame();
    Project project = frame == null || frame.getProject() == null ? ProjectManager.getInstance().getDefaultProject() : frame.getProject();
    return GitCheckoutProvider.doClone(project,
                                       Git.getInstance(),
                                       directoryName, parentDirectory.getPath(), parameters.get("url"));
  }
@Override
  public boolean checkout(final @NotNull Map<String, String> parameters,
                          final @NotNull VirtualFile parentDirectory, @NotNull String directoryName)