Set autocrlf to true in .gitattributes