Information about a Git commit in a HuggingFace repository.
Creates a CommitInfo struct from an API response.
@type author() :: %{name: String.t(), email: String.t()}
@type t() :: %HfHub.Git.CommitInfo{ authors: [author()], date: DateTime.t() | nil, id: String.t(), message: String.t() | nil, title: String.t() | nil }
@spec from_response(map()) :: t()