HTTP/2 301
server: GitHub.com
content-type: text/html
location: https://docs.github.com/v3/git/
x-github-request-id: 84C4:5B6C7:84B7F7:87054F:687BCE20
accept-ranges: bytes
age: 0
date: Sat, 19 Jul 2025 16:56:00 GMT
via: 1.1 varnish
x-served-by: cache-bom4736-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1752944161.671999,VS0,VE290
vary: Accept-Encoding
x-fastly-request-id: cbbe7ca2dc7e43d5f3cb2d9ae3dd96a4abc7a476
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: 18EF:3DAA0A:186B05:240708:687BCDEC
accept-ranges: bytes
age: 0
date: Sat, 19 Jul 2025 16:56:01 GMT
via: 1.1 varnish
x-served-by: cache-bom4730-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1752944161.030739,VS0,VE315
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: BAB4:2D1D19:175B05:22DE1E:687BCE1F
accept-ranges: bytes
date: Sat, 19 Jul 2025 16:56:01 GMT
via: 1.1 varnish
age: 0
x-served-by: cache-bom4730-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1752944161.359431,VS0,VE305
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: 8C4C:307053:1786DD:232301:687BCDE6
content-encoding: gzip
accept-ranges: bytes
age: 0
date: Sat, 19 Jul 2025 16:56:02 GMT
via: 1.1 varnish
x-served-by: cache-bom4730-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1752944162.677803,VS0,VE804
vary: Accept-Encoding
strict-transport-security: max-age=31557600
content-length: 28879
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