---
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. Probed via GitHub API using saved gitHubUser/gitHubPAT; returns hasFork false when no credentials, no fork, or GitHub unreachable. Falls back to local git remote <user> when offline. Used by Developer settings to offer a fork-branch switcher defaulting to Use Official Branches.

## Response `200`

Fork branch list

- object
  - `hasFork` boolean
  - `user` string
  - `branches` string[]

## Changes

- **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/cce5c6b943c8?raw)
