Learning resourcesReviewed · Anysphere

Cursor Origin: Clone, Push & Pull

Cursor’s Origin Git guide is for developers connecting repositories to Origin, with early-beta status and special GitHub mirror rules as its main caveats. It explains HTTPS and SSH authentication, ordinary Git operations, and Origin-only branches that use a separate push path.

Researched 15 Nov 2026

In short.

Cursor’s Origin Git guide is a setup reference for developers using Origin repositories, but the service is in early beta and ordinary pushes to mirrored repositories still go to GitHub. Its most useful distinction is between GitHub-backed work and Origin-only branches: the latter use origin/* branch names and are written to the repository's separate /local endpoint, normally with the origin push local command, which also sets up an origin-local remote. The page provides concrete connection instructions and describes limited continuity during GitHub outages; reliability, pricing and execution behavior are not assessed.

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

Coverage includes the complete selected page at [https://cursor.com/docs/origin/git.md]: connection methods, authentication, SSH host-key guidance, remote configuration, mirror routing, Origin-only branches, pulling and troubleshooting. Linked CLI, mirroring, pull-request and release-note pages are excluded. No installer, command or service behavior was executed or tested. Pricing, licensing, service guarantees and behavior beyond this captured page remain unknown or not assessed.

The overview

What the resource is

Clone, Push & Pull is Cursor’s documentation for accessing Origin repositories with standard Git. The selected resource is the guide at [https://cursor.com/docs/origin/git.md], rather than the Origin service or CLI software itself.

It covers native Origin repositories and repositories mirrored from GitHub. Origin is described as an early-beta service.

Practical assessment

The guide provides concrete instructions for connecting a checkout and understanding where pushes land. Its strongest contribution is explaining that an Origin mirror does not replace GitHub as the destination for ordinary pushes.

It supports planning a limited evaluation of Origin. It does not establish production reliability, migration completeness or suitability as an organization’s primary repository host.

Who it helps

The guide fits developers connecting an existing project, teams evaluating Origin alongside GitHub, and developers who need to preserve some work on Origin during a GitHub outage. It also supplies a host-key entry usable by CI runners.

Beginners need basic Git knowledge, particularly branches and remotes: a remote is Git’s saved connection to another repository. Experienced developers should pay attention to the difference between a local branch named origin/my-state and Git’s remote-tracking names such as origin/main.

What the guide covers

The page documents HTTPS and SSH cloning, authentication, adding a remote to an existing repository, pulling updates, configuring pushes to GitHub and Origin in parallel, and troubleshooting common connection problems.

For GitHub mirrors, it explains Origin-only branches, the /local endpoint, a dry-run option, and a configurable local remote name. It describes possible reads from an already-synced copy during a GitHub outage, while explicitly excluding Git LFS batch failover.

Using it

What you need

The documented workflows require Git and access to an Origin repository. HTTPS operations use sign-in through the Origin CLI. SSH authentication uses a public key registered on the Origin account; the page shows CLI commands for adding and listing keys.

Origin-only writes on a mirrored repository require its /local endpoint to be enabled and the checkout’s origin remote to point to Origin. Supported operating systems, minimum Git and CLI versions, and account eligibility are not specified.

How repository routing works

On a GitHub mirror, GitHub remains the source of truth. A normal git push through the Origin clone URL goes to GitHub, and Origin updates after GitHub accepts it. Inbound synchronization skips GitHub branches named exactly origin or beginning origin/.

The origin push local command creates or updates a remote named origin-local using the repository’s /local endpoint. Its fetch and push rules are restricted to origin/* branches, and it pushes every local branch in that namespace without renaming it. Those branches stay on Origin and do not synchronize to GitHub.

The /local endpoint exists only for inbound mirrors. Repositories created directly on Origin use their ordinary origin remote for branches.

Connection setup

Open the repository at [https://cursor.com/codebase] and copy its connection address from the Code menu. For HTTPS, the page directs users to install the Origin CLI and run origin auth login before Git operations. Its installer example downloads a shell script and immediately runs it; the script’s contents are not included or assessed.

For SSH, register the public key and compare the server’s presented host-key fingerprint with the values documented on this page before accepting the connection. The page also provides a known_hosts entry for workstations and CI runners. The captured fingerprint is historical evidence, not confirmation of the server’s current key.

If the installed origin command is unavailable, the page identifies ~/.local/bin as the directory to add to PATH.

A documented branch example

For a mirrored checkout already connected to Origin, the page shows git branch origin/my-state HEAD to create an explicitly named local branch. Running origin push local --dry-run displays the proposed push; origin push local sends the Origin-only branches.

The command pushes every local origin/* branch, not just origin/my-state. Work intended for a GitHub pull request instead needs an ordinary branch pushed to GitHub. This example describes documented behavior; no commands were executed.

Assessment & evidence

Limits and failure cases

GitHub outage continuity is limited: reads of an already-synced mirror may work, the only supported write path is /local, which accepts only origin/* branches, and Git LFS batch does not fail over. The page supplies no availability guarantee.

The /local endpoint is enabled per repository and accepts only origin/<name> branches. A branch named exactly origin or a name such as original/backup is outside that namespace. Origin-only branches cannot head GitHub pull requests because they are absent from GitHub.

Even git push origin origin/my-state sends that branch to GitHub when the ordinary remote is a mirror. Origin then skips importing it, making command choice consequential.

How to judge fit

The documented routing makes this guide useful when you want GitHub to remain authoritative while keeping selected Git state on Origin. That assessment follows from the separation between ordinary pushes and Origin-only branches.

If your requirement is a fully independent replacement for GitHub during outages, this page does not establish that fit. Its conditional read availability, separate write path and missing LFS batch failover require closer evaluation.

Choices within the documented workflows

HTTPS with CLI sign-in and SSH with a registered key are the two documented Git authentication paths. For an existing project, the page also shows keeping GitHub and Origin as parallel push destinations while evaluating the service.

For a full-history copy from GitHub, the page recommends mirroring over the parallel-push example. The linked mirroring instructions are outside the selected scope, so their setup and guarantees are not assessed. No other hosting services are compared.

Evidence and confidence

The evidence is the complete Cursor documentation page at [https://cursor.com/docs/origin/git.md], as captured on 15 November 2026.

This first-party documentation supports the description of intended behavior. No commands were executed, and authentication, push routing, installer behavior, outage continuity, performance and reliability were not independently tested.

Access & freshness

Costs

The page gives no prices, free-tier allowances, storage or bandwidth quotas, or charges for mirroring and Git LFS. Account-plan requirements are also unspecified. The cost of adopting Origin is unknown from this source.

Licensing and data terms

The selected page states no documentation or CLI license, redistribution grant, or service terms. Repository ownership provisions, data retention, privacy terms and permitted commercial use are not established by this source.

Freshness

The page was captured on 15 November 2026 at 03:31:12.831 UTC. It describes Origin as early beta but supplies no publication date, update date or CLI version.

The page says host-key rotations are announced in Origin release notes and reflected in the documentation. Those linked notes were not included, so subsequent changes and current host-key validity are unknown.

Practical next steps

Identify whether your repository is native to Origin or mirrored from GitHub before choosing a push command. Confirm authentication, inspect the configured remotes, and use origin push local --dry-run before sending Origin-only branches.

For mirrored work intended to become a GitHub pull request, use an ordinary branch and the GitHub-backed push path. Before depending on outage continuity, establish whether /local is enabled and whether your workflow requires Git LFS.

Consult current documentation for SSH fingerprints, installation requirements, pricing and service terms before adoption. The selected page does not resolve those requirements completely.

Evidence for this report

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