---
title: "Get Git Branch"
method: GET
path: "/v1/system/git-info"
tags: ["v1-system"]
---

# Get Git Branch

`GET /v1/system/git-info`

## Request

- Base URL: `https://api.tryardent.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tryardent.com/v1/system/git-info`
- Auth: none declared

Get the current git branch name for the repository.

Returns:
    JSONResponse containing:
    - branch: Current git branch name
    - error: Any error that occurred (if any)

## Response `200`

Successful Response

- unknown

---

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