Try entering the following in Git Bash:
$ git credential fill
protocol=https
host=github.com
(note the blank line)
this should return...
protocol=https
host=github.com
path=
username=<your-user>
password=<authentication-token>
You should be able to use <authentication-token>
to create Gists.