Skip to main content

Command Palette

Search for a command to run...

Origin

Create an Origin repository

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:

  1. Select New
  2. In the New repo dialog, enter a Repo Name and choose Internal or Private visibility
  3. 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 main

If you already have a local project:

cd your-projectgit remote add origin https://origin.cursor.com/{owner}/{repo}.gitgit push -u origin main