I am facing this weird issue with PHP storm, I tried this same thing with VS code and a few other software and I never faced this issue
So I open the project in PHP storm, and when I open a certain file, and then I cut any single line or comment it for testing purposes, when I hit CTRL+Z and undo the cut or edits, git will recognize the file as a changed file, it will be shown the file in "Changes not staged for commit", whereas I have not done any changes in the file, I just cut and undo it,
I am attaching a video representing the issue, I tried to modify 2 files and then undo the changes, but in git I can see those files are modified and when I will commit it, I will see those files in commits.
This is the major issue am facing with PHP storm, that's why am unable to use it totally
any help me, please
PHP storm version: 2021.2
Video Link: https://drive.google.com/file/d/19UIL5Qey43Lf_WGUe20JN0rq-N4f6CnH/view