Line End problem fetching from Github

Hi,
I have an annoying problem downloading a script file rsc from a private repository on github: when I import it, the end line are not maintained, it’s all in a line.

If I copy the same file from the local git in winbox and Import it, the end line are ok.

Can someone help me?

Andrea