---
title: "Changes to Get branches for a public repository (supports GitHub and GitLab)"
method: GET
path: "/git/public/{provider}/{owner}/{repo}/branches"
---

# Changes to Get branches for a public repository (supports GitHub and GitLab)

`GET /git/public/{provider}/{owner}/{repo}/branches`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 9 of 383 revisions.

- **2026-09-11** `0597896e6540`: 1 info
- **2026-09-11** `8b0ca7a1320f`: 1 breaking
- **2026-09-09** `961c884b4940`: 1 info
- **2026-09-07** `2a40922f832c`: 2 info
- **2026-09-07** `38e97c3c35dd`: 1 info
- **2026-09-07** `f7404eb7ac98`: 1 warning, 2 info
- **2026-08-30** `4bab5a6e64b5`: 2 info
- **2026-08-11** `7493127fec25`: 1 info
- **2026-01-11** `50604ba8d4a8`: 1 info

## Changes

- **2026-09-11** `0597896e6540`: 1 info
  - added the required property `branches/items/is_default` to the response with the `200` status
- **2026-09-11** `8b0ca7a1320f`: 1 breaking
  - removed the required property `branches/items/is_default` from the response with the `200` status
- **2026-09-09** `961c884b4940`: 1 info
  - added the required property `branches/items/is_default` to the response with the `200` status
- **2026-09-07** `2a40922f832c`: 2 info
  - added the new optional `query` request parameter `base_url`
  - added the non-success response with the status `401`
- **2026-09-07** `38e97c3c35dd`: 1 info
  - added the non-success response with the status `403`
- **2026-09-07** `f7404eb7ac98`: 1 warning, 2 info
  - deleted the `query` request parameter `base_url`
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `403`
- **2026-08-30** `4bab5a6e64b5`: 2 info
  - added the new optional `query` request parameter `base_url`
  - added the non-success response with the status `401`
- **2026-08-11** `7493127fec25`: 1 info
  - added the non-success response with the status `403`
- **2026-01-11** `50604ba8d4a8`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/gotempsh/apis/temps/docs/git/public/:provider/:owner/:repo/branches/get.md) - [API](https://skmtc.dev/gotempsh/apis/temps.md) - [Page](https://skmtc.dev/gotempsh/apis/temps/changes/git/public/:provider/:owner/:repo/branches/get)
