Github Gist: Versioning For Pasted Code
Gist works the same way - except with a twist: the pasted text ends up in a git repository, which is accessible via a git clone URL - it can be checked out with a git client program. Not just that, the connection works both ways: pushing a commit back to the repository makes the changes (and added files) accessible in the Gist web interface, which also allows to edit text files. Gist allows to start off from a pasted bit of text or code and collaborate over the net, either using a web interface or git tools.
Bryan Liles created a screencast demoing the Gist workflow and features. The screencast shows how to paste snippets then use the generated git clone URL to access the pasted code using command line git and then pushing a modified version back.
Russ Danner May 03, 2015