https://help.github.com/en/articles/dealing-with-line-endings
rm .git/index
git reset
https://github.com/alexkaratarakis/gitattributes/blob/master/Java.gitattributes