Clone GitHub repositories using just owner/repo instead of full URLs from your terminal.
Create and manage pull requests, list issues, and browse GitHub without switching to the web browser.
Automate GitHub workflows in CI/CD pipelines and shell scripts using command-line GitHub operations.
Extend git with GitHub-specific commands while keeping all standard git functionality intact.
GitHub API token required for authenticated requests
Hub is a command-line tool that wraps the standard git program and adds extra commands for working with GitHub. Git is the underlying version control system that tracks code changes; GitHub is the online platform where many developers host their code. Normally, doing things like cloning someone's repository, creating a pull request (a proposal to merge your code changes), or browsing open issues requires switching to the GitHub website. Hub lets you do all of this without leaving your terminal. You can, for example, clone a repository by typing just the owner and repo name instead of the full web address. Hub also understands your current project context, if you're inside a git folder connected to a GitHub repo, hub commands like listing pull requests or creating issues work automatically. Hub can also be aliased as git itself, so every git command you already know keeps working, but now you have bonus GitHub superpowers mixed in. This is ideal for developers who live in the terminal and want to keep their GitHub workflow there too, creating pull requests, managing issues, and automating GitHub actions through scripts. It also works in automated GitHub Actions pipelines. It's written in Go, runs as a single executable with no extra dependencies, and installs on macOS, Linux, and Windows.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.