Fix environment variables for github-cli.
Configure github-cli to use HTTPS.

Reset upstream tracking branch.