I had already connected My GitHub account to my ChatGPT account.
I tried disconnecting my GitHub account and then reconnecting it and that worked!