git: Fix race condition loading project diff (#25992)

Release Notes:

- git: Fixed a race condition where some files would be missing from
project diff
1f7fa80166Conrad Irwin committed on 3/4/2025, 4:40:37 AM· committed by GitHubparent2ac952e
No file changes
There are no differences between these branches.