Learning resourcesReviewed · Anysphere

Mirror a GitHub repository in Cursor Origin

This guide shows developers and GitHub repository administrators how to mirror a repository into Cursor Origin, but Origin is in early beta and requires eligible paid access. GitHub remains the source of truth while the mirror supports Origin browsing, search and cloud-agent workflows.

Researched 15 Nov 2026

In short.

This guide explains GitHub-to-Origin mirroring for developers and repository administrators, but the beta feature requires eligible paid access and keeps normal pushes dependent on GitHub. It covers synchronization, GitHub pull-request review, cloud-agent integration and separate Origin-only branches. Issues and CI configuration remain on GitHub. Outage support has limits: an initial sync still needs GitHub, and Git LFS batch requests do not fail over. Prices, synchronization guarantees and runtime performance are not established.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is limited to the complete selected page at [https://cursor.com/docs/origin/mirror-github.md], including its early-beta notice, prerequisites, synchronization scope, clone and push behavior, Origin-only branches, outage limitations, detachment, troubleshooting and Bugbot comparison. Linked documentation, the sitemap destination and embedded video content are excluded. No software or repository operations were executed; performance, reliability, agent quality, prices and behavior beyond the documentation remain unassessed.

The overview

Identity

Mirror a GitHub repository is Cursor documentation for copying an existing GitHub repository into Origin and keeping that copy updated. The guide is available at [https://cursor.com/docs/origin/mirror-github.md]. It teaches a repository-hosting feature that supports code browsing, search and cloud-agent work; it does not supply an agent definition or executable package.

The page identifies Origin as an early-beta service. Mirroring preserves GitHub as the authoritative repository until the user explicitly detaches the Origin copy.

Assessment

The guide is useful when code already lives on GitHub and a team wants Origin features on the same history. Its practical strength is explaining where writes go, which branches remain local to Origin and what changes when the mirror is detached.

It provides enough detail to understand the setup and main operating boundaries. It does not establish synchronization speed, service reliability, agent output quality or the full permissions and billing model.

Users

The primary audience is developers and teams with GitHub-hosted code who want Origin browsing, search, pull-request review or cloud agents. Enabling the mirror requires GitHub repository administrator access, so a developer without that access needs an administrator to perform the setup.

Beginners receive a short interface-based setup sequence. Developers planning local Git use or outage continuity also need to understand remotes, branches and the separate origin push local command; command installation and authentication are not explained on this page.

Capabilities

The mirror includes Git history, branches and tags, searchable code, GitHub pull requests that can be reviewed in Cursor, and ongoing updates from GitHub. After synchronization, users can browse files and commit history, clone the Origin remote and attach cloud agents. On mirrored repositories, those agents open GitHub pull requests.

Origin-only branches provide a separate workspace. The guide also describes converting a mirror into a standalone Origin repository by detaching it from GitHub.

Using it

Requirements

Setup requires a Cursor account with Origin access on Premium or higher, Teams, Enterprise or a legacy paid Cursor plan. It also requires the Cursor GitHub app connected to the organization or account that owns the repository, plus GitHub administrator access on that repository.

A repository must complete its first synchronization before the documented reads from an existing Origin copy can apply during a GitHub outage. The page does not specify local Git versions, supported operating systems or installation requirements for the origin command.

Mechanism

GitHub remains authoritative while Origin maintains a synchronized copy. The Origin HTTPS remote follows [https://origin.cursor.com/{owner}/{repo}.git]. Ordinary pushes to that remote go to GitHub, and Origin updates after GitHub accepts the push.

Branches beginning origin/ form a workspace kept only on Origin and are written with origin push local. The guide explicitly distinguishes this from git push origin. GitHub branches named origin or beginning origin/ are excluded from synchronization so they cannot overwrite that workspace.

Detaching stops synchronization and makes Origin authoritative. Subsequent pushes to the Origin remote no longer flow to GitHub, while the existing GitHub repository is unaffected.

Setup

Open [https://cursor.com/codebase], choose Sync from GitHub, select the GitHub organization and repository, and confirm. After synchronization finishes, open the Origin copy to browse files and commit history.

Check Settings → General for synchronization status; the repository should identify Origin as the mirror and GitHub as the source. The green Code button supplies the Origin clone URL. If browsing appears stale, the guide recommends checking GitHub app access, administrator access and synchronization status, or repeating Sync from GitHub.

Example

An illustrative use is a team that already keeps its application on GitHub and wants an Origin cloud agent to work with that history. An administrator enables the mirror, the team browses the synchronized code in Origin, and an attached cloud agent opens its pull request on GitHub.

During a GitHub outage, a developer could use an origin/ branch and origin push local to preserve work on Origin. That is the documented local-write route; the page does not explain how to transfer that work back into a GitHub branch after recovery. This scenario was not executed.

Assessment & evidence

Limitations

The page lists GitHub Issues and GitHub Actions workflows and secrets as excluded, with issues and CI configuration remaining on GitHub. It does not clarify how that exclusion relates to workflow files already committed in Git history. GitHub branches named origin or beginning origin/ are also excluded.

During a GitHub outage, reads of an already-synchronized repository may still work through the same HTTPS clone URL. Git LFS batch requests do not fail over, and an incomplete first sync still requires GitHub. The supported outage write path is /local through origin push local.

Origin is in early beta. No maximum synchronization delay, availability guarantee, repository-size limit or complete outage-recovery procedure is supplied.

Reasoning

The documented architecture suggests a fit for teams that want Origin features while retaining GitHub as their main repository. Mirroring adds another place to browse and work with code, while ordinary writes still depend on GitHub accepting them.

The separate Origin-only branches offer limited continuity during outages. They do not establish complete GitHub independence because initial synchronization, ordinary mirrored pushes and Git LFS have documented dependencies. This is an interpretation of the described architecture, not a measured reliability result.

Alternatives

For users who only want automated review comments on GitHub pull requests, this page points to Bugbot [https://cursor.com/docs/bugbot.md], which it says provides that function without moving storage. Bugbot's own documentation, costs and behavior were not assessed.

For users who want Origin to become authoritative, the page describes detaching an existing mirror into a standalone Origin repository. That changes where future pushes go and serves a different need from retaining GitHub as the source.

Evidence

The evidence is the complete Cursor documentation page at [https://cursor.com/docs/origin/mirror-github.md], captured on 2026-11-15 at 02:18:10.723 UTC. Its source revision is sha256:2d10eab3954b77d799be1d5876f98076599387aa85f2add55f25fff310a70e05.

All functional claims come from this single documentation page. Linked pages and the embedded video were not assessed. No commands, synchronization, pushes, agent operations or outage scenarios were executed, so runtime behavior and performance remain unverified.

Access & freshness

Costs

Eligible paid Cursor access is a prerequisite, but the page gives no prices. Subscription amounts, any separate mirroring or storage charges, cloud-agent usage charges, quotas and overage rules are unknown from this evidence.

The plan requirement does not establish that every associated activity is included without additional cost.

Rights

The page does not state a documentation licence or grant redistribution rights. It also does not establish the licence of any repository a user might mirror.

GitHub administrator access is an operational requirement. Repository ownership terms, hosted-code usage rights, retention, data residency and treatment of code for model training are not established by this page.

Freshness

The captured page describes Origin as currently in early beta. It supplies no publication date, update date, numbered release or stable-release schedule.

The capture timestamp identifies the available documentation snapshot; it does not establish when the feature last changed. Behavior beyond that snapshot is unknown.

Actions

Before enabling a mirror, confirm Origin access, eligible paid-plan status, GitHub app access and repository administrator permissions. Establish applicable pricing and code-handling terms separately because this page does not provide them.

After synchronization, check Settings → General and compare the Origin copy with the expected GitHub branch and commit. If outage continuity matters, assess origin/ branches, origin push local and any Git LFS dependency before relying on them.

Use Detach from GitHub when the intended outcome is a standalone Origin repository. Detachment makes Origin authoritative and stops future Origin pushes from flowing to GitHub.

Evidence for this report

selected-page.txtselected · checked 2026-11-15