public static CommitSession createCommitSession(@NotNull Project project,
                                                  @NotNull PatchBuilder patchBuilder,
                                                  @NotNull CommitContext commitContext) {
    return new CreatePatchCommitSession(project, commitContext, patchBuilder);
  }
public static CommitSession createCommitSession(@NotNull Project project,
                                                  @NotNull PatchBuilder patchBuilder,
                                                  @NotNull CommitContext commitContext)