Creating a gist requires a very simple process as depicted in the steps below: -
1. Sign in to GitHub.
2. We should the navigate to the gist home page.
3. After this, we need to type an optional description and name for the gist.
4. Key in the text of your gist into the gist text box.
5. Following this we should select either to create a public gist or to create a secret gist.