# agent_panel: Add new thread git worktree/branch pickers \(\#52979\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/ccb9e60a6258d57104cc56db87fe03024dd231ef)

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

Visibility: public

Requested revision: ccb9e60a6258d57104cc56db87fe03024dd231ef

Requested commit: ccb9e60a6258d57104cc56db87fe03024dd231ef

Commit: ccb9e60a6258d57104cc56db87fe03024dd231ef

Tree: 7fbf9413094dd26ce1b71fb7286ab24fad8703ea

Author: Anthony Eid

Committer: GitHub

## Message

```
agent_panel: Add new thread git worktree/branch pickers (#52979)

This PR allows users to create a new thread based off a git worktree
that already exists or has a custom name. User's can also choose what
branch they want the newly generated worktree to be based off of.

The UI still needs some polish, but I'm merging this early to get the
team using this before our preview launch. I'll be active today and
tomorrow before launch to fix any nits we have with the UI.

Functionality of this feature works! And I have a basic test to prevent
regressions


Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #ISSUE

Release Notes:

- N/A or Added/Fixed/Improved ...

---------

Co-authored-by: cameron <cameron.studdstreet@gmail.com>
```

## Parents

- [614f67ed2aa7378e5f11359ea01ba873b6a2a103](https://git.cafe/gitcafe/zed/commit/614f67ed2aa7378e5f11359ea01ba873b6a2a103?format=markdown)

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