And in the “things I always wanted to have” camp, I just wrote myself a small bookmarklet that switches from a GitHub repository and its Pages back and forth.
You can get it on its GitHub repo: GitHub Toggle
It is not clever, and for now only works with index.html pages, as I didn’t want to use any storage.
Here’s a GIF showing it in action: