Gist is a facility provided by GitHub to store sample code segments in GitHub and then show them on your site. One use of this facility is for building technology tutorials: the host site can contain Gist links that show the relevant samples of code; when the Gist link changes, all of the referring sites automatically show the updated code. This solution allows a developer to annotate code segments from his/her existing code base and then run our tool to extract these segments and update the Gists. This ensures that the Gists are always in sync with actual working code and that the developer only has to update the code in one location to keep all of their tutorials up to date.
Keep your Gists in sync with your code | Heykuki News