Create an Origin repository
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.
Create an empty Origin repository from the web UI, or ask a Cursor agent to create one for you. Then clone it and push with git. If the code already lives on GitHub, mirror the repository instead.
Create in the UI
From cursor.com/codebase:
- Select New
- In the New repo dialog, enter a Repo Name and choose Internal or Private visibility
- Select Create Repo
After creation, open the repo to copy the clone URL from the green Code button and push from your machine.
Sync from GitHub
To copy an existing GitHub repository into Origin, select Sync from GitHub on the codebase home instead of New. You choose the GitHub organization and repository, then confirm the sync. See Mirror a GitHub repository for prerequisites, what syncs, and how to detach from GitHub.
Create with a Cursor agent
Cursor agents can create Origin repositories as part of a task. Ask the agent in Cursor to create a repo on Origin; it can install the Origin CLI, sign in, create the repo, set the remote, and push.
Agents use the same permissions as your Cursor account. You need access to Origin code storage for the create to succeed. Cloud agents can work against existing Origin repositories: clone, branch, commit, push, and open pull requests.
Name, visibility, and sharing
- Enter a Repo Name in the New repo dialog
- Choose visibility: Internal (visible to anyone with access to your team's codebase) or Private (visible only to members granted access directly or through codebase permissions)
- Team access follows your Cursor team / codebase access
Repository Settings includes General, Permissions, Rules and Protections, and Apps. See Settings.
Push your first commit
After you create an empty repo in the UI, initialize a local project and push:
git clone https://origin.cursor.com/{owner}/{repo}.gitcd {repo}# add your filesgit add .git commit -m "Initial commit"git push -u origin mainIf you already have a local project:
cd your-projectgit remote add origin https://origin.cursor.com/{owner}/{repo}.gitgit push -u origin main