What is a GitHub gist?
One of GitHub's most innovative features is Gist, which lets you store and distribute code snippets without setting up a full-fledged repository. Code strings, bash scripts, markdown, text files, and other small pieces of data are all acceptable alternatives to just code snippets. It can be used to quickly distribute a piece of code to others for anything like a demonstration, a how-to, or any solution without setting up a standard repository. Additionally, you can use it to embed elsewhere or on your website.