Add a .gitattributes file to fix line endings