git: Always zero panel's entry counts when clearing entries (#26924)

Keep the panel's state consistent even when we transition to having no
active repository.

Release Notes:

- N/A
88907eeb38Cole Miller committed on 3/18/2025, 2:54:21 AM· committed by GitHubparentcd5d7e8
1 file changedLine totals unavailable