Fixed github-create bash function

Function was not using local variables, so if credentials were not valid
on one run of the script, they would always be regarded as invalid
thereafter.
Merge branch 'master' into windows