void (@NotNull String name, @NotNull String reference, @NotNull List<? extends GitRepository> repositories, @Nullable Runnable callInAwtLater) { new CommonBackgroundTask(myProject, GitBundle.message("branch.checking.out.new.branch.process", name), callInAwtLater) { @Override public void execute(@NotNull ProgressIndicator indicator) { newWorker(indicator).createNewTag(name, reference, repositories); } }.runInBackground(); }