---
title: "Get fork branches"
method: GET
path: "/api/git/forkBranches"
tags: ["git"]
---

# Get fork branches

`GET /api/git/forkBranches`

Returns branches from the authenticated user's fork of FPP (github.com/<user>/fpp) if that fork exists. Used by the Developer settings page to offer a "switch to fork branch" dropdown. The fork is probed via the GitHub API using the saved gitHubUser / gitHubPAT credentials; an unreachable GitHub or a missing repo returns hasFork false rather than an error.

## Response `200`

Fork branch list

- object

## Changes

- **2026-09-15** `a923e87eff94` — 3 warning
  - removed the optional property `branches` from the response with the `200` status
  - removed the optional property `hasFork` from the response with the `200` status
  - removed the optional property `user` from the response with the `200` status
- **2026-09-11** `ebfb1fb41638` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/falconchristmas/apis/fpp-api/changes/api/git/forkBranches/get.md)

---

[API](https://skmtc.dev/falconchristmas/apis/fpp-api.md) · [All operations](https://skmtc.dev/falconchristmas/apis/fpp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/falconchristmas/apis/fpp-api/revisions/ec7312fb5f8d?raw)
