# `HfHub.Git.BranchInfo`
[🔗](https://github.com/North-Shore-AI/hf_hub_ex/blob/v0.3.1/lib/hf_hub/git/branch_info.ex#L1)

Information about a Git branch in a HuggingFace repository.

# `t`

```elixir
@type t() :: %HfHub.Git.BranchInfo{
  name: String.t(),
  ref: String.t() | nil,
  target_commit: String.t() | nil
}
```

# `from_response`

```elixir
@spec from_response(map()) :: t()
```

Creates a BranchInfo struct from an API response.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
