Clone, Push & Pull
Origin is currently released in early beta. You can create repos, push and pull with git, mirror from GitHub, browse and search code, open and merge pull requests, and share with your Cursor team.
Please submit any and all feedback to hi@cursor.com to help us make the product better.
Origin works with standard git. Open a repo at cursor.com/codebase, select the green Code dropdown, and copy the clone URL.
Clone with HTTPS
The Code menu includes an HTTPS tab:
https://origin.cursor.com/{owner}/{repo}.gitExample:
git clone https://origin.cursor.com/acme/checkout.gitClone with the Origin CLI
The same menu has an Origin CLI tab with CLI-oriented setup. Install and sign in first:
curl -fsSL https://downloads.cursor.com/origin/install.sh | shorigin auth loginAuthenticate
Sign in with the Origin CLI before the first git operation if you have not already:
origin auth loginThen clone, fetch, pull, or push with git.
Add a remote to an existing repo
git remote add origin https://origin.cursor.com/{owner}/{repo}.gitgit push -u origin mainTo keep GitHub and Origin in parallel while you evaluate:
git remote set-url --add --push origin git@github.com:acme/checkout.gitgit remote set-url --add --push origin https://origin.cursor.com/acme/checkout.gitFor a full history copy from GitHub into Origin, prefer mirroring.
Pull latest
git pull origin mainTroubleshooting
If clone or push fails, confirm you are signed in with origin auth login. See Install the Origin CLI.
If your shell says command not found: origin after install, add ~/.local/bin to your PATH (for zsh: append export PATH="$HOME/.local/bin:$PATH" to ~/.zshrc, then source ~/.zshrc). Details are on the CLI page.