Removed text=auto from the .gitattributes file in an attempt to resolve line ending issues.
Added the text=auto back into the gitattributes file, hope this helps reset the weird line ending issues.