HTTP/2 301
server: GitHub.com
content-type: text/html
location: https://docs.github.com/v3/git/
x-github-request-id: A9B6:8C578:D43FB:1073D2:68EB03C2
accept-ranges: bytes
age: 0
date: Sun, 12 Oct 2025 01:26:26 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210044-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1760232387.506464,VS0,VE279
vary: Accept-Encoding
x-fastly-request-id: c7a7454e946d1442860e295dbfbfa57118d1938c
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: 'unsafe-inline';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: F866:3B0110:13C6052:1DAC3F3:68EB03C3
accept-ranges: bytes
date: Sun, 12 Oct 2025 01:26:28 GMT
via: 1.1 varnish
age: 0
x-served-by: cache-bom-vanm7210067-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1760232387.840214,VS0,VE1228
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: 'unsafe-inline';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: AF4D:1BB332:14903CF:1E748F8:68EB03C4
accept-ranges: bytes
age: 0
date: Sun, 12 Oct 2025 01:26:29 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210067-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1760232388.082127,VS0,VE1165
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: 'unsafe-inline';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: 5B0E:1044A5:E929F7:14CE0DA:68EA9D1C
content-encoding: gzip
accept-ranges: bytes
age: 26280
date: Sun, 12 Oct 2025 01:26:29 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210067-BOM
x-cache: HIT
x-cache-hits: 0
x-timer: S1760232389.260292,VS0,VE1
vary: Accept-Encoding
strict-transport-security: max-age=31557600
content-length: 24405
REST API endpoints for Git database - GitHub Docs Skip to main content
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