Git uncommit warning (#25977)

Adds a prompt when clicking the uncommit button when the current commit
is already present on a remote branch:

![screenshot showing
prompt](https://github.com/user-attachments/assets/d6421875-588e-4db0-aee0-a92f36bce94b)

Release Notes:

- N/A

---------

Co-authored-by: Conrad <conrad@zed.dev>
e505d6bf5bJulia Ryan committed on 3/5/2025, 11:56:51 PM· committed by GitHubparent0200dda
6 files changedLine totals unavailable