I have a gist with some javascript code in a script tag, like so:
You can't change the content without submitting it (saving it) and that gives you a new URL.
If you want a link to something you will be constantly changing and have the URL always be the same, put it in a repo and save changes by committing it.
You'll end up with something like:
https://raw.github.com/UserName/Repository/master/script.js