void (@NotNull GitRepository repository) { FixTrackedBranchDialog updateDialog = new FixTrackedBranchDialog(repository.getProject()); if (updateDialog.showAndGet()) { new GitUpdateExecutionProcess(repository.getProject(), myRepositories, updateDialog.getUpdateConfig(), updateDialog.getUpdateMethod(), updateDialog.shouldSetAsTrackedBranch()) .execute(); } }