Editor crashes when adding event keyframe if source control (Git) is enabled

I’m using UE 5.2.1.

When I tried to add a trigger keyframe to the widget animation of a border, and bind the event to ‘SetBrush’ (not only this), the editor crashed within a few seconds.

After tried and tested all day, I found if I disable the setting of the source control (Git) in the editor, the problem gone.