The GitHub CLI (gh) can create repositories directly, no browser needed.
brew install gh # macOS; see cli.github.com for other platforms
gh auth login # interactive; grants the `repo` scope
gh auth status # confirm which account is active