{"version":"2.1.333","anchor":"teleport-branch-checkout-refuses-when-origin-fetches-from-an","canonical_anchor":"teleport-branch-checkout-refuses-when-origin-fetches-from-an","heading":"Teleport won't check out a branch when origin points to a different repository","tier":"notice","area":"Teleport","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/teleport-branch-checkout-refuses-when-origin-fetches-from-an","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Teleport won't check out a branch when origin points to a different repository\n\nWhen teleporting a session, Claude Code no longer checks out its branch if origin fetches from a different repository, and shows commands to do it yourself\n\n**What**\n\nWhen Claude Code teleports a session and checks out its branch, it now compares the session's repository with the one your `origin` remote fetches from. A remote is a named link to a copy of the repository elsewhere, and `origin` is usually the main one. If the two differ, Claude Code reports that the branch was not checked out and prints git commands you can run by hand, using origin's push address.\n\nThis check is controlled by a remote switch.\n\n**Why**\n\nIf `origin` points at a fork that belongs to someone else, Claude Code could otherwise fetch a branch with the same name from the wrong place.\n\n- Area: Teleport\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}