Tool Open source

GitHub CLI

GitHub CLI is GitHub's official command-line tool, developed for GitHub.com, GitHub Enterprise Cloud, and GitHub Enterprise Server. The `gh` command brings pull requests, issues, and other GitHub concepts into the terminal alongside Git and source code, including workflows for authenticating an account, creating repositories and branches, pushing changes, and opening draft pull requests. It supports macOS, Windows, and Linux, and an agent skill is available for driving `gh` from coding agents.

View repository Visit site Mentioned in 6 videos ↓

What GitHub CLI is used for

6 uses taken from transcripts — each links to the moment in the video.

  • Authenticates the GitHub account and provides the token that is stored as a sandbox secret.

  • Used with CLI workflows to create a public repository, create a branch, push changes, and create a draft pull request.

  • Lets agents use a trusted command-line integration when it already supports the required service.

  • Referenced as the built-in tool agents use for GitHub operations like uploading images to PRs

  • Example CLI whose list command's limit flag agents used 81% of the time

  • CLI frequently invoked by agents; its list command's limit flag was used by agents 81% of the time.

Videos mentioning GitHub CLI

6 in the library.