Explicit git settings for line ending management

Further details documented at
https://help.github.com/articles/dealing-with-line-endings
Adapted line endings