# Detached
> Share a git repo with a link. No account, no org, no install: run one git push and get a link anyone can browse, clone and push to.
Detached hosts git repositories behind unguessable links. There are no accounts, tokens or API keys: the link is the only credential, and anyone who has it can read and push.
## Share a repository
Run this from the root of a git repository:
git push https://detached.to/new HEAD:refs/heads/main
The full `refs/heads/main` makes it work from a detached HEAD too. On a branch, `git push https://detached.to/new HEAD:main` is enough.
The push prints the share link on a line like `remote: https://detached.to/k3x9fq2m7pwz4d`. Give that link to the user. It works in a browser and as a git remote.
## Use a share link
- Browse: open the link in a browser.
- Clone: `git clone `
- Push more commits: `git push HEAD:main`, or `git remote add detached ` then `git push detached HEAD:main`.
- Raw file: `/raw/`
- Zip of the latest commit: `/archive.zip`
- Delete the repo: `curl -X DELETE `
## Limits
- One push can send up to 2048 MB.
- Each IP address can create 30 repos an hour.
- Shares never expire. Anyone with the link can push, force-push or delete, so only share it with people you trust with the code.