Github CLI wont authenticate

I’m trying to get Github CLI to work and I’m following all the steps but my bash keeps giving me this response.

gh auth login
? What account do you want to log into? [Use arrows to move, type to filter]

GitHub.com
GitHub Enterprise Server
could not prompt: Incorrect function.
You appear to be running in MinTTY without pseudo terminal support.
To learn about workarounds for this error, run: gh help mintty