GitHub Git Database API

The GitHub Git Database API provides low-level access to Git objects (blobs, commits, refs, tags, and trees) in a repository. It lets you read and write raw Git data directly, enabling operations like creating commits programmatically, building trees, reading blob contents, and managing references without using the higher-level repository content endpoints.

Documentation

API entry from apis.yml

apis.yml Raw ↑
aid: github:github-git-database-api
name: GitHub Git Database API
tags:
- Database
- Git
- Source Control
baseURL: https://api.github.com
humanURL: https://docs.github.com/en/rest/git?apiVersion=2022-11-28
properties:
- url: https://docs.github.com/en/rest/git
  type: Documentation
description: The GitHub Git Database API provides low-level access to Git objects (blobs, commits, refs,
  tags, and trees) in a repository. It lets you read and write raw Git data directly, enabling operations
  like creating commits programmatically, building trees, reading blob contents, and managing references
  without using the higher-level repository content endpoints.