---
title: "GET /api/v1/git-versions/{user}/{repo}/branches/{branch}"
method: GET
path: "/api/v1/git-versions/{user}/{repo}/branches/{branch}"
tags: ["Git Versions"]
---

# GET /api/v1/git-versions/{user}/{repo}/branches/{branch}

`GET /api/v1/git-versions/{user}/{repo}/branches/{branch}`

## Request

- Base URL: `https://api.flybywiresim.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flybywiresim.com/api/v1/git-versions/{user}/{repo}/branches/{branch}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/flybywiresim/apis/flybywire-simulations-api/docs/api/v1/git-versions/:user/:repo/branches/:branch/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `user` string, required
- `repo` string, required
- `branch` string, required

## Response `200`

The newest commit on the branch

- CommitInfo
  - `sha` string, required: The commit hash
  - `shortSha` string, required: The shortened commit hash
  - `timestamp` string, date-time, required: The time the commit was created

---

[API](https://skmtc.dev/flybywiresim/apis/flybywire-simulations-api.md) - [All operations](https://skmtc.dev/flybywiresim/apis/flybywire-simulations-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flybywiresim/apis/flybywire-simulations-api/revisions/3013dbd0cff1?raw)
