This should make sure that line endings for text files are converted to LF. Some reading: https://git-scm.com/docs/gitattributes#_effects