What if we added:

```
text eol=lf
```

to **.gitattributes** ?