---
title: "Get git repository commit file content from history"
method: GET
path: "/git/history/:hash/file"
tags: ["Git"]
---

# Get git repository commit file content from history

`GET /git/history/:hash/file`

## Path parameters

- `hash` string, required

## Query parameters

- `path` string, required

## Response `200`

Success

---

[API](https://skmtc.net/materiahq/apis/materia-server.md) · [All operations](https://skmtc.net/materiahq/apis/materia-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/materiahq/materia-server/versions/f4e80651bb93/schema)
