The fix it to remove "core.autocrlf input" from your .gitconfig and redo your clone from scratch. Asking git to do any kind of line processing results in it tripping up over file encoding. Removing this setting asks it to just blindly copy the bytes into a file - this will mean windows users will need to edit from within Eclipse or some other editor like Notepad++ that can handle linefeeds.