I have read a number of things about problems related to line endings encoding using git versioning, starting of course by formal documentation like Configuring
git