I think you need to set your local repo up for proper line endings. It has been a while since I did this so I cannot remember what I did. Here is an article to read: https://help.github.com/articles/dealing-with-line-endings#platform-all