Lets say you have a URL of the gitst, that you would like run from the terminal without copy/paste and creating a new file. It's doable, and it's pretty easy. You just have to put the next command in your terminal:
bash <(curl -s URL_OF_YOUR_FILE)
Also, any other services can be used, not only git.