HTTP/2 301
server: GitHub.com
content-type: text/html
location: https://docs.github.com/v3/git/
x-github-request-id: B5D5:FDD27:24101:32219:687AFE8E
accept-ranges: bytes
age: 0
date: Sat, 19 Jul 2025 02:10:22 GMT
via: 1.1 varnish
x-served-by: cache-bom4743-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1752891022.114874,VS0,VE189
vary: Accept-Encoding
x-fastly-request-id: 7191a42e5bf139528e36ac1a05759d8943b5dab9
content-length: 162
HTTP/2 301
access-control-allow-origin: *
content-security-policy: default-src 'none';prefetch-src 'self';connect-src 'self';font-src 'self' data:;img-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com data: placehold.it;object-src 'self';script-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' data:;script-src-attr 'self';frame-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com https://support.github.com https://www.youtube-nocookie.com;frame-ancestors 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com;style-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' 'unsafe-inline' data:;child-src 'self';manifest-src 'self';upgrade-insecure-requests;base-uri 'self';form-action 'self'
cross-origin-opener-policy: same-origin
cross-origin-resource-policy: same-origin
origin-agent-cluster: ?1
referrer-policy: no-referrer-when-downgrade
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0
cache-control: public, max-age=60
location: /v3/git
content-type: text/plain; charset=utf-8
x-github-backend: Kubernetes
x-github-request-id: 1D5B:1AE41E:125D31:1DBE97:687AFE8E
accept-ranges: bytes
age: 0
date: Sat, 19 Jul 2025 02:10:23 GMT
via: 1.1 varnish
x-served-by: cache-bom4720-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1752891022.356571,VS0,VE1240
vary: Accept
strict-transport-security: max-age=31557600
content-length: 41
HTTP/2 302
access-control-allow-origin: *
content-security-policy: default-src 'none';prefetch-src 'self';connect-src 'self';font-src 'self' data:;img-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com data: placehold.it;object-src 'self';script-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' data:;script-src-attr 'self';frame-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com https://support.github.com https://www.youtube-nocookie.com;frame-ancestors 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com;style-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' 'unsafe-inline' data:;child-src 'self';manifest-src 'self';upgrade-insecure-requests;base-uri 'self';form-action 'self'
cross-origin-opener-policy: same-origin
cross-origin-resource-policy: same-origin
origin-agent-cluster: ?1
referrer-policy: no-referrer-when-downgrade
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0
cache-control: public, max-age=60
location: /en/rest/git
content-type: text/plain; charset=utf-8
x-github-backend: Kubernetes
x-github-request-id: 98E0:1FA819:12E16B:1E3B53:687AFE90
accept-ranges: bytes
age: 0
date: Sat, 19 Jul 2025 02:10:24 GMT
via: 1.1 varnish
x-served-by: cache-bom4720-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1752891024.611141,VS0,VE1010
vary: accept-language, x-user-language, Accept
strict-transport-security: max-age=31557600
content-length: 34
HTTP/2 200
access-control-allow-origin: *
content-security-policy: default-src 'none';prefetch-src 'self';connect-src 'self';font-src 'self' data:;img-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com data: placehold.it;object-src 'self';script-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' data:;script-src-attr 'self';frame-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com https://support.github.com https://www.youtube-nocookie.com;frame-ancestors 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com;style-src 'self' github.com *.github.com *.githubusercontent.com *.githubassets.com 'self' 'unsafe-inline' data:;child-src 'self';manifest-src 'self';upgrade-insecure-requests;base-uri 'self';form-action 'self'
cross-origin-opener-policy: same-origin
cross-origin-resource-policy: same-origin
origin-agent-cluster: ?1
referrer-policy: no-referrer-when-downgrade
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0
cache-control: public, max-age=60
x-powered-by: Next.js
content-type: text/html; charset=utf-8
x-github-backend: Kubernetes
x-github-request-id: 2EE2:1AF42A:141FE4:1F8357:687AFE91
content-encoding: gzip
accept-ranges: bytes
age: 1
date: Sat, 19 Jul 2025 02:10:27 GMT
via: 1.1 varnish
x-served-by: cache-bom4720-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1752891025.635202,VS0,VE2700
vary: Accept-Encoding
strict-transport-security: max-age=31557600
content-length: 28873
REST API endpoints for Git database - GitHub Docs Skip to main content API Version: 2022-11-28 (latest)
REST API endpoints for Git database Use the REST API to interact with raw Git objects in your Git database on GitHub and to list and update Git references (branch heads and tags).
The REST API gives you access to read and write raw Git objects to your Git database on 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 Using the REST API to interact with your Git database .
Help and support Ask Copilot your question. Ask Copilot