This comes to me in a regular basis, thought it would be nice, to keep a note to me and anyone else dealing with same.
The short answer to fix this is
git config core.safecrlf warn
There are more descriptive answers available and here is a link to one of many solutions out there.
Happy hacking.