# git_ui: Align repo and branch pickers \(\#47752\) · gitcafe/zed

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

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

Visibility: public

Requested revision: bcd78afabfba579074af137c6f4d4f4c5232dd6c

Requested commit: bcd78afabfba579074af137c6f4d4f4c5232dd6c

Commit: bcd78afabfba579074af137c6f4d4f4c5232dd6c

Tree: 02cf006a856acbf7c728ac9d4e290b95fb40c0be

Author: Riccardo Strina

Committer: GitHub

## Message

```
git_ui: Align repo and branch pickers (#47752)

When working in a workspace with multiple repositories, the git panel
provides a repository picker to switch between them. However, there was
no visual indication of which repositories have uncommitted changes:
users had to either select each repository individually or check the
project panel where modified directories are highlighted.

This change adds git status icons to the repository picker, allowing
users to see at a glance which repositories contain changes (modified,
added, deleted, or conflicted files). The icons use the same visual
language already established for file status throughout the git panel.

Additionally, the repository picker now matches the branch picker's
styling for visual consistency:
- Added "Repositories" header
- Aligned popover width and positioning
- Added scrollbar
- Added check icon next to currently selected repo
- Added selected branch under repo list item
- Sort by display name is now case insensitive

Before:

<img width="1200" height="815" alt="Screenshot 2026-01-27 at 11 43 55"
src="https://github.com/user-attachments/assets/12c1008b-4724-44bf-80c9-e9ad97755090"
/>

After:

<img width="1761" height="1196" alt="Screenshot 2026-01-27 at 14 07 52"
src="https://github.com/user-attachments/assets/cd778f42-ade0-4da0-9732-2d8631c04124"
/>


Branch picker for style reference:

<img width="1200" height="815" alt="Screenshot 2026-01-27 at 11 44 03"
src="https://github.com/user-attachments/assets/369b0d29-8fed-4293-98c2-52c2d780fe9a"
/>

Release Notes:

- Git: Improved the project picker in the panel by also displaying the
GIt status icon on them, to clearly indicate which repos have changes.

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
```

## Parents

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

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