1.1 When you check git diff, some files don't change but they were changed End Of Line format
$ git diff
A warning: LF will be replaced by CRLF in .gitignore. The file will have its original line endings in your working directory
1.2 Config local
$ git config core.safecrlf false
1.3 Config for Global
$ git config --global core.safecrlf false
2.1 Remove cache
$ git rm -r --cached .