Post to GitHub Gist every time a post is saved.
Setting page, under Writings section, to set GitHub username and access token. Choose which post types are enabled for Post to Gist. There's test access token feature to make sure provided access token is valid.
Meta box where no Gist associated with the post yet.
Meta box where there's a Gist associated with the post.