You Should Change your editor it don't encodes the files right or your git is setuped wrong read about CLRF and so on Linux and Windows Line Endings and then read about gitattributs file to set the line endings right