So for that go to your project directory where you have installed git and use sudo git add * to update all changes from a terminal.
This happens because sometimes your git repo is conflicting your change in local file.
So for that go to your project directory where you have installed git and use sudo git add * to update all changes from a terminal.
This happens because sometimes your git repo is conflicting your change in local file.