Opengist is a self-hosted Pastebin powered by Git. All snippets are stored in a Git repository and can be
read and/or modified using standard Git commands, or with the web interface.
It is similar to GitHub Gist, but open-source and could be self-hosted.