Fix a panic in the git store (#28590)

Closes #ISSUE

Release Notes:

- Fixed a panic that could occur when git statuses were updated.
5909d1258bCole Miller committed on 4/11/2025, 6:05:51 PM· committed by GitHubparent78662f8
1 file changedLine totals unavailable