It’s very easy to get files from GitHub, but when first using it, I wanted to just be able to download files without having to use the terminal. Easy enough, here’s a walk through.
So to download an entire repository, just go to a repo (here for example) and click the “Download ZIP” link.
And to download a single file within a repository, just go to the url for that file, then click the “Raw” button.
That will show the raw version of that file. Simply right-click and select “Save as…” to download it.
Or more quickly…
You can also just right-click the Raw button itself, then select “Save link as…“.
What about GitHub Gists?
If you just want a single file from a Gist (usually they’re just single files), simply go to that file’s url and right-click “Raw” then select “Save link as…“.