# Preserve fork PR upstreams when preparing local and worktree threads · gitcafe/t3code

[View on GitCafe](https://git.cafe/gitcafe/t3code/commit/b36888e9cc3692f931081a4d09bd58438d5f06eb)

Repository: [gitcafe/t3code](https://git.cafe/gitcafe/t3code)

Visibility: public

Requested revision: b36888e9cc3692f931081a4d09bd58438d5f06eb

Requested commit: b36888e9cc3692f931081a4d09bd58438d5f06eb

Commit: b36888e9cc3692f931081a4d09bd58438d5f06eb

Tree: 3bcb418e640a59882e106610868644558d926457

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Preserve fork PR upstreams when preparing local and worktree threads

- add GitCore helpers to ensure remotes, fetch remote branches, and set upstreams
- extend GitHub CLI parsing to include cross-repo PR metadata and repo clone URLs
- update GitManager flow and tests to materialize fork heads and keep tracking on fork remotes

```

## Parents

- [9bb9023009b0c45c66a609c386cd233855043caf](https://git.cafe/gitcafe/t3code/commit/9bb9023009b0c45c66a609c386cd233855043caf?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/t3code/tree/b36888e9cc3692f931081a4d09bd58438d5f06eb?format=markdown)
