Sign in to GitHub from Terminal with the GitHub CLI | Vovy

Vovy installs gh, the official GitHub CLI, logs you in through the browser, and sets it as your Git credential helper so pushes just work.