HTTP/2 301
date: Mon, 21 Jul 2025 10:18:42 GMT
content-type: text/html; charset=utf-8
content-length: 0
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
location: https://github.blog/2011-11-10-git-io-github-url-shortener/
cache-control: no-cache
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
set-cookie: _gh_sess=CEckLhzkD9m0tQUbYCnvGGjDrTjrScE0oCChqrVOYEUUph9%2BZPS5UxSXsYEYrJiRm%2BFQujEi0qSsxDdtXzYaGtLHu8s%2FJqHqzfTG88OmO5zyMubsc9kazp%2B2kQmW8SZs%2BuQi2l97x4bE%2Bw72nWgsupB7JtobzekNExxGmj5Un2006UDzLwcYE4a3f9E3v2w1SW0LIV6IZZlds1M9v7oS0BSpXGID6Kx17OUjXmckvaetEMwje0AwC6no%2Bfy0cjEDU3cO%2FYCBYizM6lLYle1c8Q%3D%3D--cTczJWkRuAbPdI%2F0--73Nj0kfAobjfNimdNfN5fA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.833687327.1753093122; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 10:18:42 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 10:18:42 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8010:249704:194A69F:1FDCDD2:687E1402
HTTP/2 301
server: nginx
date: Mon, 21 Jul 2025 10:18:43 GMT
content-type: text/html; charset=utf-8
location: https://github.blog/engineering/git-io-github-url-shortener/
x-redirect-by: Yoast SEO Premium
x-rq: bom2 177 253 80
x-cache: EXPIRED
strict-transport-security: max-age=31536000;includeSubdomains;preload
HTTP/2 301
server: nginx
date: Mon, 21 Jul 2025 10:18:43 GMT
content-type: text/html; charset=UTF-8
location: https://github.blog/news-insights/the-library/git-io-github-url-shortener/
x-hacker: If you're reading this, you should visit https://join.a8c.com/viphacker and apply to join the fun, mention this header.
x-powered-by: WordPress VIP
host-header: a9130478a60e5f9135f765b23f26593b
x-frame-options: SAMEORIGIN
x-redirect-by: WordPress
x-rq: bom2 177 249 80
x-cache: EXPIRED
strict-transport-security: max-age=31536000;includeSubdomains;preload
HTTP/2 200
server: nginx
date: Mon, 21 Jul 2025 10:18:44 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-hacker: If you're reading this, you should visit https://join.a8c.com/viphacker and apply to join the fun, mention this header.
x-powered-by: WordPress VIP
host-header: a9130478a60e5f9135f765b23f26593b
x-frame-options: SAMEORIGIN
link: ; rel="https://api.w.org/"
link: ; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
content-encoding: gzip
x-rq: bom2 177 249 80
accept-ranges: bytes
x-cache: EXPIRED
cache-control: max-age=300, must-revalidate
strict-transport-security: max-age=31536000;includeSubdomains;preload
Git.io: GitHub URL Shortener - The GitHub Blog
Git.io: GitHub URL Shortener
Do you have a GitHub URL you’d like to shorten? Use Git.io! $ curl -i https://git.io -F “url=https://github.com/…” HTTP/1.1 201 Created Location: https://git.io/abc123 $ curl -i https://git.io/abc123 HTTP/1.1 302 Found…
November 10, 2011
|
Updated May 14, 2021
Do you have a GitHub URL you’d like to shorten? Use Git.io!
$ curl -i https://git.io -F "url=https://github.com/..."
HTTP/1.1 201 Created
Location: https://git.io/abc123
$ curl -i https://git.io/abc123
HTTP/1.1 302 Found
Location: https://github.com/...
You can specify your own code to setup your own vanity URL:
$ curl -i https://git.io -F "url=https://github.com/technoweenie"
-F "code=t"
HTTP/1.1 201 Created
Location: https://git.io/t
You can currently see Git.io in action on certain 3rd party services, such as Campfire.
Git.io was written and deployed by myself and @atmos as a big experiment. Our goals:
Use Riak .
Deploy on Rackspace Cloud.
You can assemble your own with Guillotine , the URL shortening hobby kit. It’s written in Ruby as a Sinatra app, and supports storing links in Riak or a relational DB.
Though a URL shortener is about the easiest project one could take on, it gave us a chance to experiment. As a result, I’ve been able to spread my excitement about Riak to more people at GitHub. The Riak 1.0 upgrade gave us a chance to experiment with a rolling upgrade across our cluster (for the new version, and the new leveldb backend). We also have better support with our Hubot and puppet scripts for managing deployments through Rackspace Cloud.
Related posts
In June, we experienced three incidents that resulted in degraded performance across GitHub services.
AI agents in GitHub Copilot don’t just assist developers but actively solve problems through multi-step reasoning and execution. Here’s what that means.
In May, we experienced three incidents that resulted in degraded performance across GitHub services.
Explore more from GitHub
Docs
Everything you need to master GitHub, all in one place.
GitHub
Build what’s next on GitHub, the place for anyone from anywhere to build anything.
Customer stories
Meet the companies and engineering teams that build with GitHub.
GitHub Universe 2025
Last chance: Save $700 on your IRL pass to Universe and join us on Oct. 28-29 in San Francisco.
We do newsletters, too Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.