run this command to see you old and new mode also look out for the last 3 numbers as this represents the permissions
git diff -G.
so after this we can see the issue, our permissions changed
to fix this they are 2 ways
- run this command in the root directory of your project and it will fix the permissions
find . -type f -exec chmod a-x {} \;