[SDK reference](../../index.md) / [Models](../index.md) / [Delivery](index.md)

# GitBranchView

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Delivery`  

One branch of a hosted Git repository.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `HeadSha` | `string?` | `headSha` | The commit the branch points at. |
| `IsDefault` | `bool?` | `isDefault` | Whether this is the repository's `defaultBranch`. |
| `IsProtected` | `bool?` | `isProtected` | Whether the branch is in the repository's `protectedBranches`. |
| `LastAuthor` | `string?` | `lastAuthor` | The author of the head commit, when the platform holds it. |
| `LastCommitAt` | `DateTimeOffset?` | `lastCommitAt` | When the head commit was made, when the platform holds it. |
| `LastMessage` | `string?` | `lastMessage` | The subject of the head commit, when the platform holds it. |
| `Name` | `string?` | `name` | The branch name, without `refs/heads/`. |
