MacOS traditionally used `\r` for line endings. Unix (and thus macOS 10+) uses `\n` and Windows `\r\n`. Github isn't properly recognizing the files have classic MacOS line endings
Yup, this is it. Newline and CR + NL are the only recognized line endings on Github. You see this often on old source dumps (the Prince of Persia source release stands out, IIRC) of Classic Mac software.