{"version":"2.1.331","anchor":"teleport-branch-fetch-gated-by-tengu-velvet-seal","canonical_anchor":"teleport-branch-fetch-gated-by-tengu-velvet-seal","heading":"Teleport can check that a branch exists on origin before fetching it","tier":"soon","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/teleport-branch-fetch-gated-by-tengu-velvet-seal","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Teleport can check that a branch exists on origin before fetching it\n\nBehind a server-controlled setting, teleport now checks origin has the branch before fetching it and fetches without pruning\n\n**What**\n\nWhen Claude Code teleports a session, it fetches the session's git branch from origin (the remote copy of your repository). Behind a server-controlled setting, that fetch now works differently:\n\n- It first asks origin which branches it has, and refuses to fetch if the branch is not there, with a message starting \"Not fetching: origin lists no branch\".\n\n- It fetches the branch by its full name.\n\n- It does not prune, so it does not delete other local references to remote branches.\n\nWhen the setting is off, the old plain fetch is used. If the sandbox refuses the fetch, the message now shows the same fetch command that was used.\n\n**Why**\n\nThis stops Claude Code from trying to fetch a branch that does not exist on origin, and stops a teleport fetch from removing other branch references.\n\n- Area: Elsewhere\n- Tier: Nothing to try yet\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}