Does anyone know how I can turn off this annoying Diff popup that appears when I accidentally click the gutter?
Thanks

This is Line-staging support, also known as interactive staging, to manage it after release you can go to Tools > Options > Text Editor > Advanced and set Click to peek in margin to Off:

You also can set it to double-click to prevent accidental ones but still to have an ability to use the feature.
See also:
Update:

After my reproduction, after I created a local git repository in VS2022 17.5.1, the click will appear.
Disable the third option to close it.

Are you using any plugins? I haven't seen this window in Visual Studio.
Can't you click the X in the upper right corner of the picture to close it?

You probably want to remove this feature, I think you can remove it in the extension.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With