How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitHub Enterprise Git API

Raw Git functionality.

GitHub Enterprise Git API is one of 58 APIs that GitHub Enterprise publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 8 JSON Schema definitions.

Tagged areas include Version Control. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, rate-limit docs, authentication docs, and 8 JSON Schemas.

This API exposes 13 operations across 12 paths, and defines 11 schemas. It is described by OpenAPI 3.2.0, at version 1.1.4.

Requests are made against a single base URL, https://api.github.com.

13 operations 12 paths 11 schemas 1 DELETE6 GET1 PATCH5 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.1.4
Base URL
https://api.github.com
Contact
License
Terms of Service
Resource Areas
1

Paths & Operations 13

Across 12 paths, the API surfaces 13 operations — 1 DELETE, 6 GET, 1 PATCH, 5 POST. Each is listed below with its method, path, parameters, and response codes.

Git 13

Raw Git functionality.

POST
/repos/{owner}/{repo}/git/blobs
Create a blob
git/create-blob 2 params body → 201404409403422
GET
/repos/{owner}/{repo}/git/blobs/{file_sha}
Get a blob
git/get-blob 3 params → 200404422403409
POST
/repos/{owner}/{repo}/git/commits
Create a commit
git/create-commit 2 params body → 201422404409
GET
/repos/{owner}/{repo}/git/commits/{commit_sha}
Get a commit object
git/get-commit 3 params → 200404409
GET
/repos/{owner}/{repo}/git/matching-refs/{ref}
List matching references
git/list-matching-refs 3 params → 200409
GET
/repos/{owner}/{repo}/git/ref/{ref}
Get a reference
git/get-ref 3 params → 200404409
POST
/repos/{owner}/{repo}/git/refs
Create a reference
git/create-ref 2 params body → 201422409
PATCH
/repos/{owner}/{repo}/git/refs/{ref}
Update a reference
git/update-ref 3 params body → 200422409
DELETE
/repos/{owner}/{repo}/git/refs/{ref}
Delete a reference
git/delete-ref 3 params → 204422409
POST
/repos/{owner}/{repo}/git/tags
Create a tag object
git/create-tag 2 params body → 201422409
GET
/repos/{owner}/{repo}/git/tags/{tag_sha}
Get a tag
git/get-tag 3 params → 200404409
POST
/repos/{owner}/{repo}/git/trees
Create a tree
git/create-tree 2 params body → 201422404403409
GET
/repos/{owner}/{repo}/git/trees/{tree_sha}
Get a tree
git/get-tree 4 params → 200422404409

Schemas 11

The contract defines 11 schemas that model the data the API accepts and returns. The most detailed are git-commit (10 properties), git-tag (8 properties), blob (7 properties), verification (5 properties). Each schema is shown below with its type and property counts.

basic-error
object
Basic Error
4 properties
git-tag
object
Metadata for a Git tag
8 properties 7 required
git-ref
object
Git references within a repository
4 properties 4 required
verification
object
5 properties 5 required
repository-rule-violation-error
object
Repository rule violation was detected
4 properties
git-commit
object
Low-level Git commit operations within a repository
10 properties 10 required
blob
object
Blob
7 properties 6 required
validation-error
object
Validation Error
3 properties 2 required
short-blob
object
Short Blob
2 properties 2 required
secret-scanning-push-protection-bypass-placeholder-id
string
The ID of the push protection bypass placeholder. This value is returned on any push protected routes.
git-tree
object
The hierarchy between files in a Git repository.
4 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-enterprise-git-api-openapi.yml Raw ↑

Other APIs GitHub Enterprise publishes across the network.

GitHub Enterprise Cloud GraphQL API
GitHub MCP Server
GitHub Enterprise Actions API
GitHub Enterprise Code Scanning API
GitHub Enterprise Admin API
GitHub Enterprise Issues API
GitHub Enterprise SCIM API
GitHub Enterprise Users API
GitHub Enterprise Activity API
GitHub Enterprise Agent Automations API
GitHub Enterprise Agent Merge API
GitHub Enterprise Agent Tasks API
Where this information came from

This is an independent, third-party profile of GitHub Enterprise Git API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.