← mirrors.mamad.dev

GitHub Git Proxy

Git clone, fetch, pull & push through github.com

API Key
For scripts and CI:

        
      

Clone a repository

git clone https://mirrors.mamad.dev/git/YOUR_KEY/torvalds/linux.git --depth 1
git clone https://mirrors.mamad.dev/git/YOUR_KEY/rust-lang/rust.git

Use as remote for an existing repo

git remote set-url origin https://mirrors.mamad.dev/git/YOUR_KEY/owner/repo.git

Push (requires GitHub PAT)

git remote set-url origin https://username:ghp_TOKEN@mirrors.mamad.dev/git/YOUR_KEY/owner/repo.git
git push

How it works

Proxies the Git Smart HTTP protocol to github.com. Supports git clone, git fetch, git pull, and git push. Your Authorization header is forwarded to GitHub for private repos and push. Responses are not cached.

home
built with Rust · mamad.dev