How to download scripts from github

Ok I was able to download the code to a text doc, now I’m researching how to convert this to .funscript