| title: REST API endpoints for Git database | |
| shortTitle: Git database | |
| intro: 'Use the REST API to interact with raw Git objects in your Git database on {% data variables.product.github %} and to list and update Git references (branch heads and tags).' | |
| allowTitleToDifferFromFilename: true | |
| redirect_from: | |
| - /v3/git | |
| - /rest/reference/git | |
| versions: | |
| fpt: '*' | |
| ghes: '*' | |
| ghec: '*' | |
| topics: | |
| - API | |
| children: | |
| - /blobs | |
| - /commits | |
| - /refs | |
| - /tags | |
| - /trees | |
| autogenerated: rest | |
| ## About Git database | |
| The REST API gives you access to read and write raw Git objects to your Git database on {% data variables.product.github %} 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 [AUTOTITLE](/rest/guides/using-the-rest-api-to-interact-with-your-git-database). | |
| <!-- Content after this section is automatically generated --> | |