static @NotNull Change.Type getChangeType(@NotNull GitChangeType type) {
    return switch (type) {
      case ADDED -> Change.Type.NEW;
      case TYPE_CHANGED, MODIFIED -> Change.Type.MODIFICATION;
      case DELETED -> Change.Type.DELETED;
      case COPIED, RENAMED -> Change.Type.MOVED;
      default -> {
        LOG.error("Unknown git change type: " + type);
        yield Change.Type.MODIFICATION;
      }
    };
  }
static @NotNull Change.Type getChangeType(@NotNull GitChangeType type)