Skip to main content

This version of GitHub Enterprise will be discontinued on 2023-03-15. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Git database

Use the REST API to interact with raw Git objects in your Git database on GitHub Enterprise Server and to list and update Git references (branch heads and tags).

About Git database

The REST API gives you access to read and write raw Git objects to your Git database on GitHub Enterprise Server and to list and update your references (branch heads and tags). For more information about using the REST API to interact with your Git database, see "Getting started with the Git data API."