Fix focus handle leak (#26090)

This fixes a major performance issue in the current git beta.
This PR also removes the PopoverButton component, which was easy to
misuse.

Release Notes:

- Git Beta: Fix frame drops caused by opening the git panel

---------

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
674fb7621fConrad Irwin committed on 3/5/2025, 12:50:26 AM· committed by GitHubparentfe18c73
13 files changedLine totals unavailable