What it does
gh is GitHub's official command line wrapper around the v3 REST and GraphQL APIs. Once authenticated it lets you create and review pull requests, file and triage issues, kick off Actions runs, manage releases and gists, and clone or fork repos — all without context-switching to the browser.
What TerminalSync adds
- GitHub Auth Sync. TerminalSync asks
ghfor the active token, encrypts it with your master key, and reinstalls it throughgh auth login --with-tokenon your other Mac. You control it from Settings. - Session memory. Your AI agent remembers which repo you're working in and which PRs are open — so when you say "review my open PR" it knows what you mean.
- MCP bridge. Pair it with the GitHub MCP connector and Claude / Codex / Gemini can read commit history or open PRs through the same auth context.
Typical commands
gh pr create --fill
gh issue list --assignee @me --state open
gh release create v1.2.0 --generate-notes
gh workflow run deploy.yml --ref main
gh repo clone myorg/myrepo