Sync git button states between project diff & git panel (#26938)

Closes #ISSUE

Release Notes:

- Git action buttons are now synced between the project diff and git
panel

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Co-authored-by: Piotr Osiewicz <peterosiewicz@gmail.com>
db1d2defa5Anthony Eid committed on 3/17/2025, 6:08:32 PM· committed by GitHubparent430bd83
3 files changedLine totals unavailable