What is Cursor Origin? Cursor's Git hosting vs GitHub

By

Updated

Tagged: Git

Cursor Origin hosts Git repositories inside Cursor. Learn how its repos, GitHub sync, pull requests, agents, apps, CLI, and early-beta limits work.

Cursor can now host your code.

The new service is called Cursor Origin.

Until now, Cursor worked with code hosted somewhere else. Your repository usually lived on GitHub, GitLab, or Bitbucket, and Cursor opened it, understood it, and let its agents make changes.

With Origin, Cursor can store the repository too.

At first, this sounds like Cursor built a smaller GitHub. That’s partly true, since Origin has repositories, code browsing, pull requests, access controls, and integrations.

It also puts your code, pull requests, and coding agents in the same system, which changes how agents fit into the repository workflow.

Here’s how it works today, including the limits of the early beta.

What is Cursor Origin?

Cursor Origin is Cursor’s own Git hosting service. Cursor calls it a Git forge, the same category of tool as GitHub, GitLab, Bitbucket, and Gitea: it stores your Git repositories and wraps collaboration tools around them. The difference is that Cursor’s cloud agents work inside the same system as your code and pull requests.

Origin starts with the essentials:

  • Git repositories
  • browser-based code browsing and search
  • branches and commit history
  • pull requests and code reviews
  • repository permissions
  • branch rules and merge protections
  • GitHub mirroring
  • cloud agents and automations
  • deployment and CI integrations
  • a command-line tool and a REST API

Origin launched in early beta on August 17, 2026, and Cursor is rolling it out on its paid plans.

It’s available on Premium, Super, Ultra, Teams, and Enterprise, as well as legacy Start, Pro, Pro+, and Ultra plans. It’s not available on Free or Plus.

Keep in mind that it’s still in early beta. The core workflow is in place, but the interface, integrations, and API can still change.

You can find the full feature and setup details in the official Origin documentation.

Origin does not replace Git

Before going further, let’s separate Git from Git hosting.

Git runs on your computer. It tracks files, commits, branches, and merges.

Origin stores a remote copy of that Git repository and gives your team a place to browse code, review changes, and run agents.

The relationship looks like this:

your project → Git commits → Origin repository → pull requests and agents

You still use normal Git commands:

git add .
git commit -m "Add the search page"
git push

Origin works with standard Git over HTTPS and also supports SSH keys.

If Git itself is still new to you, start with my free Git Course. It explains commits, branches, remotes, pushing, pulling, and pull requests.

The 2 ways to use Origin

Origin can host a repository itself or mirror one from GitHub. That choice decides which service remains the source of truth.

Origin can host the repository

You can create a new repository directly on Origin.

In this case, Origin is the source of truth. Your team clones from Origin and pushes changes back to Origin.

Pull requests also live on Origin and aren’t copied to GitHub. The Origin-native setup looks like this:

Local Git repositoryOriginCursor agentOrigin pull request

Origin can mirror GitHub

You can also connect an existing GitHub repository.

Cursor copies its Git history, branches, tags, code, and pull requests into Origin, then keeps that copy updated while GitHub stays the source of truth. Here’s how the mirrored setup works:

Local Git repositoryGitHubOrigin mirrorCursor agent

You can browse the code and work with pull requests inside Cursor, while pushes still go to GitHub even when you push through the Origin remote.

This is the safest way to test Origin with an existing project, because you get the new interface and agent workflow without moving the main repository.

The Codebase is the home for your repositories

Origin repositories live in the new Codebase area at cursor.com/codebase.

The first time you open it, Cursor asks you to sync a repository from GitHub. Click Get Started to begin.

Cursor Codebase page with the Get Started button for syncing repositories from GitHub

Cursor then asks you to claim a codebase name, which becomes part of every repository URL.

Cursor Codebase setup asking for a unique URL path for the repositories

For example, a team called acme could have this repository:

https://cursor.com/codebase/acme/checkout

Choose this name carefully, because you can’t change the namespace during the beta.

From the Codebase page, you can create a repository or sync one from GitHub.

Origin shows an icon beside each repository to indicate whether Origin hosts it or mirrors it from GitHub. That small detail helps, since both kinds appear in the same list even though they don’t behave the same way.

Creating an Origin repository

The simplest way to start is through the browser.

Open the Codebase page, select New, enter the repository name, and create it.

Origin offers 2 visibility levels for team-owned repos:

  • Internal makes the repository visible to people with access to the team’s codebase
  • Private limits it to people granted access directly or through codebase permissions

That chooser only appears for repos owned by a team codebase. Repos you create under a personal account are always Private and visible only to you, and you share them from the repo’s Settings > Collaborators.

Notice what’s missing: public repositories.

Right now, the creation flow only supports Internal and Private visibility. That makes Origin suitable for private work and team projects, but not yet a full home for public open source projects.

You can also ask a Cursor agent to create the repository. The agent can install the Origin CLI, sign in, create the repository, add the remote, and push the code.

The agent uses your Cursor permissions, so it can’t create a repository you aren’t allowed to create.

Create and deploy a web app from scratch

You can now create new web apps with Cursor, store the code with Origin, and deploy to Vercel.

Choose Start from scratch in the repository picker, then tell the agent what to build. Cursor starts a cloud agent without asking you to connect an existing repository first.

You can preview the app in the browser while the agent works. When you’re happy with it, create an Origin repository to save the code, then connect your Vercel account and publish the app to get a live URL.

You can see the Cursor announcement on X and the related trending page.

Installing the Origin CLI

Origin has its own command-line tool named origin.

It’s separate from the Cursor Agent CLI. The Agent CLI runs a coding agent, while the Origin CLI manages repositories, authentication, pull requests, rules, SSH keys, and API requests.

Install it with:

curl -fsSL https://downloads.cursor.com/origin/install.sh | sh

Then sign in:

origin auth login

The login opens a browser and configures a Git credential helper. After that, normal git push and git pull commands can authenticate with Origin.

You can check the current login with:

origin auth status

The official Origin CLI documentation includes installation details and troubleshooting steps.

Creating and cloning repositories from the terminal

You can create a repository without opening the browser:

origin repo create origin-test

If you leave out a namespace, Origin creates the repository under your account.

With my account, cloning it looks like this:

origin repo clone flaviocopes/origin-test

Or use standard Git directly:

git clone https://origin.cursor.com/flaviocopes/origin-test.git

If the project already exists on your computer, add Origin as its remote:

git remote add origin https://origin.cursor.com/flaviocopes/origin-test.git
git push -u origin main

This is the same remote workflow you already use with GitHub. If you want a short refresher, see how to add a Git remote.

Browsing and searching code

Every repository has a Code tab.

You can browse folders, open files, switch branches, and inspect commit history. Select a commit to see its metadata and changed files.

Press T to open Go to file, or use the search field to find files and code matches.

This part feels familiar if you already use GitHub.

The difference is that an agent sits right beside the code. You can ask questions about the file you’re reading, and the agent can explain it, follow a call across the repository, make a change, and push a branch directly from there.

Pull requests in Origin

Origin repositories have pull requests.

Push a branch first:

git switch -c add-search
git push -u origin add-search

Then open a pull request from the browser or the Origin CLI:

origin pr create -t "Add search" --status open

The pull request page has 4 main areas:

  • Activity shows comments, reviews, and status changes
  • Commits shows every commit in the change
  • Checks shows CI results for the branch
  • Files Changed shows the diff and inline comments

You can request reviewers, comment on lines, approve a change, request changes, inspect merge conflicts, and merge once the review and checks pass.

The CLI covers the same workflow:

origin pr diff
origin pr checks
origin pr review --approve
origin pr merge

Most origin pr commands detect the repository from the current origin Git remote, and they detect the pull request for your current branch when you don’t pass a number.

That makes the CLI useful for both people and agents. An agent can create, inspect, update, and merge a pull request without scraping a web page.

How GitHub mirroring works

GitHub mirroring lets you bring an existing project into Origin without moving it.

You need:

  • Origin access on Premium or higher, Teams, Enterprise, or a legacy paid plan
  • the Cursor GitHub app connected to the account or organization
  • GitHub admin access to the repository you want to mirror

Open the Codebase page and start the setup flow. Cursor first shows the GitHub organizations you can access.

Cursor Origin setup showing the available GitHub organization

Open the organization and select the repositories you want to sync.

Cursor Origin setup with the flaviocopes.com GitHub repository selected

Select Continue. Origin then shows who will have access to each repository.

Cursor Origin repository access review before starting the GitHub sync

Review this screen before confirming, since GitHub permissions and Origin permissions are related, not identical.

Select Sync Repo when everything looks right. Origin starts receiving the repository and marks GitHub as the source.

Cursor Origin settings showing the flaviocopes.com repository syncing from GitHub

Origin then copies the repository and keeps it updated.

Here’s what moves across:

Synced to OriginStays on GitHub
Git history, branches, and tagsGitHub Issues
Files and code searchGitHub Actions workflows
Pull requests, comments, and reviewsGitHub Actions secrets

Keep in mind this isn’t a full GitHub backup. The mirror brings over the code and pull request workflow, while GitHub still owns your issues, Actions, secrets, and the main repository.

Mirrored pull requests sync both ways

Pull requests on mirrored repositories appear in both services.

You can leave a comment in Origin and see it on GitHub. A reply or reaction added on GitHub shows up in Origin within seconds, and you can also review and merge a GitHub pull request straight from Origin.

This two-way sync is what makes mirroring practical. Your team doesn’t need to move every reviewer into Cursor on day one. Some people can stay in GitHub while others work in Origin, and everyone sees the same pull request conversation.

GitHub remains the source of truth

Mirroring doesn’t quietly move ownership over to Cursor.

If a repository started on GitHub, pushes still go to GitHub, and Origin keeps its copy updated from there. You can clone the Origin remote and push to it, and Origin passes that push right through to GitHub.

That avoids a classic headache: you don’t end up with 2 separate copies of the repo slowly drifting apart.

If you later decide to move fully to Origin, open the repository settings and select Detach from GitHub. That stops the sync and turns the Origin copy into a standalone repository where Origin is the source of truth. The original GitHub repository isn’t touched, and from that point on the 2 repositories can diverge.

Agents are part of the repository workflow

Cursor cloud agents can work directly against Origin repositories. They can:

  • clone the repository
  • create a branch
  • change files
  • run the project’s checks
  • commit and push
  • open a pull request
  • respond to review feedback

Those agents usually run on Cursor’s servers, though you can also run them on your own Mac when a task needs local tools or credentials.

While browsing a repository, you can also ask questions about the code and let the agent move straight from explaining something to implementing a change.

That cuts out a layer of plumbing. With a separate code host, Cursor has to be granted access to connect, clone, push, and update pull requests across another service. With Origin, all of those actions live under the same Cursor account and permission model. You still need proper permissions and human review, of course, just with fewer moving parts in between.

Cursor says more agent-native features are on the way, though the deeper roadmap hasn’t been laid out publicly yet. Right now, what’s shipped is this direct link between agents, repositories, and pull requests.

Automations can react to repository events

Cursor Automations can run cloud agents on a schedule or in response to a source-control event.

For an Origin repository, an automation can react to events like:

  • a push to main or master
  • a pull request being opened
  • new commits pushed to a pull request

When triggered, the automation can inspect the repository, run a task, make changes, and open or update a pull request.

That’s what Cursor means by “designed for agent scale.” One person working on a single repo doesn’t need a new Git forge, while a team running lots of agents needs reliable repo access, event triggers, permissions, branches, checks, and review paths all under one roof.

Deployments and CI

Origin launched with integrations for Vercel, Depot, and Buildkite.

You can connect Vercel from the repository’s Apps tab. Pull requests get preview deployments where you can test changes and leave comments, and merging deploys to production.

Depot and Buildkite handle CI for repositories hosted on Origin. Both can run existing GitHub Actions workflows, and Buildkite can run its own pipelines too.

Keep one limit in mind for mirrored repositories: Depot and Buildkite only work with Origin-hosted repositories, while a GitHub mirror keeps its CI on GitHub.

Origin’s app ecosystem is still small. That’s expected in an early beta, though it matters right away if your project relies on a long list of GitHub Apps.

Repository permissions and protections

Repository settings are split into 4 areas:

  • General
  • Permissions
  • Rules and Protections
  • Apps

Permissions control who can access the repository, while team-wide codebase settings control who can enable Origin, create repositories, and grant access to other members.

Origin follows the Privacy Mode of the person or team that owns the namespace. Teams still on Cursor’s legacy privacy mode need to switch to the current Privacy Mode before turning Origin on.

Rules and Protections handles branch rules and merge protections. Cursor notes this interface is still being redesigned, so expect labels and controls to shift during the beta.

Before moving an important repository, test the permission model on a private test repo first. Add a teammate and verify who can browse, push, open pull requests, change rules, and install apps. Don’t assume a new forge maps every GitHub permission one-to-one.

Origin also has a public API

Beyond the web UI and CLI, the Origin REST API lets tools work with repositories, commits, checks, pull requests, reviews, and app installations.

Origin Apps follow a model similar to GitHub Apps:

  1. An app signs a short-lived token.
  2. It exchanges that token for an installation token.
  3. The installation token only accesses approved repositories and scopes.
  4. Origin sends signed webhooks when relevant events happen.

You can also use the origin api command to hit endpoints that don’t have a dedicated CLI subcommand yet.

Having a real API matters if Origin wants an ecosystem of CI providers, deployment platforms, internal tools, and custom agents. Just keep in mind the API is in early beta too, so Cursor recommends checking the current spec whenever you update an integration.

Is Origin a GitHub replacement?

Not yet, for most teams.

Origin already covers the core private repository workflow:

  • host code
  • clone, push, and pull with Git
  • browse and search files
  • review and merge pull requests
  • control team access
  • run agents and automations
  • connect selected deployment and CI services

GitHub covers a lot more ground than that. Origin doesn’t mirror GitHub Issues or Actions secrets right now, its native app ecosystem is small, and the documented creation flow has no public repository option. GitHub also has releases, packages, discussions, projects, security tools, sponsors, social discovery, and a massive integration ecosystem (you can see the full picture in my developer’s introduction to GitHub).

Right now, Origin makes more sense as a Git hosting option for teams that want Cursor agents closer to their repositories and pull requests, rather than a full drop-in replacement for GitHub.

How I would use Cursor Origin

The safest way to try Origin is with a small private project. I publish plenty of self-contained projects in my software library with source code, tests, documentation, and agent instructions, and a repo like one of those is the right size for a trial.

Don’t move the repository on day one. Mirror it from GitHub, keep GitHub as the source of truth, and run through one end-to-end loop:

  1. Browse the project in Origin and ask the agent how one feature works.
  2. Ask a cloud agent to make a small change on a branch.
  3. Let it open a pull request.
  4. Review the diff and leave one line comment in Origin.
  5. Confirm the comment appears on GitHub.
  6. Push another commit and verify checks and sync behavior.
  7. Merge from Origin and confirm GitHub matches.

Running that loop tells you far more than any feature list. Pay attention to authentication, sync delay, agent setup, permissions, review quality, CI results, and what happens when an agent fails halfway through.

I’m not moving flaviocopes.com to a native Origin repository yet. This site relies on GitHub Actions and Cloudflare Pages, while Origin’s native integrations currently focus on Vercel, Depot, and Buildkite, and a GitHub mirror doesn’t copy Actions secrets. Keeping GitHub as the source of truth keeps the deployment pipeline intact while still letting me test Origin’s agents, code browsing, and pull request interface.

If Origin later adds the integrations I need and proves reliable, detaching the mirror is one button away, without gambling on the main repository during a beta.

When Origin is a good fit

Origin is worth testing if:

  • your team already uses Cursor heavily
  • most of your repositories are private
  • cloud agents create or review a lot of pull requests
  • you want repository events to trigger Cursor Automations
  • your deployment and CI tools already integrate with Origin
  • you want to try it through GitHub mirroring first

Because GitHub mirroring is built in, you can test the whole workflow before deciding whether to move a repository.

When I would wait

Hold off if:

  • the repository is public open source
  • the project depends on GitHub Issues, Discussions, Projects, or Releases
  • your workflow relies on a lot of GitHub Apps
  • your compliance process hasn’t approved Cursor as a code host
  • the repository needs a mature, stable API contract
  • an early-beta failure could block an important release

Because Origin stores your source code, evaluate it with the same care you’d give any core piece of infrastructure. Check access controls, privacy settings, backups, recovery, audit requirements, and your exit path before moving important work over.

How I would evaluate Origin

For a solo developer, pulling Git hosting into Cursor mostly saves a bit of setup, since an agent can create a branch and update a pull request without going through a separate host integration. The bigger payoff is for a team running many agents at once, where the code host treats those agents as normal participants in the workflow.

The quickest way to judge whether that matters for your setup is to mirror one private GitHub repository, keep GitHub as the source of truth, and run a real change from agent prompt to merged pull request.

Want me to talk about your product? You can sponsor this site.

Related posts about git: