Push/Pull not working - get undefined error in GAS
I am using tokens to authenticate. I've activated both repo and gyst scopes.
Created a repo on GitHub, initialized there (added a file). I can see the repo and master branch in the extension but either push or pull gets a red error with nothing but 'undefined'.

I have exactly the same problem with the same message. Everything was working perfectly until three or four days ago.
Did anyone find the solution?
I managed to solve it as follows:
I tried to use the extension with a repository that I started empty, with no branches or commits, so that same error appeared. So I went to Github and created a README and Branch Master to have at least one commit and then it worked!
I usually see this when I have multiple scripts open. I now always refresh the script before I push/pull it.