Try to set .gitattributes properly to stop CRLF