Sometimes I get tons of changes when doing git diff – even though I haven’t changed any of those files. This is then causing merges and issues when pulling new commits.
Solution that always works for me is to ignore change to file modes. E.g. permission changes.
git config core.fileMode false