GitHub Integration
Connect Git Canopy to GitHub to manage pull requests alongside your worktrees.
Table of contents
- Connect to GitHub
- View pull requests
- Create a pull request
- Link PRs to worktrees
- PR actions
- GitHub Enterprise
Connect to GitHub
To use GitHub features, you need a personal access token.
- Go to GitHub Settings > Developer settings > Personal access tokens
- Click Generate new token (classic)
- Select scopes:
repo(full control of private repositories) - Copy the generated token
- In Git Canopy, open Settings > GitHub
- Paste your token and click Save
Your token is stored securely in the macOS Keychain.
View pull requests
The Pull Requests sidebar shows all open PRs for your repository.
- Click a PR to see its details
- Use the filter to show All, Ready for review, or Drafts only
- Click Refresh to fetch the latest PRs
Each PR row shows:
- PR number and title
- Author avatar
- Branch name
- Draft badge (if applicable)
Create a pull request
From any worktree with commits ahead of the base branch:
- Click Create PR in the worktree lane footer
- Select the target branch (usually
main) - Enter a title and description (or use AI to generate them)
- Toggle Draft if you’re not ready for review
- Click Create
Git Canopy pushes your branch if needed and opens the new PR on GitHub.
Link PRs to worktrees
Git Canopy automatically links PRs to worktrees when the branch names match.
When a PR is linked:
- The PR status appears in the worktree lane footer
- You can click to open the PR on GitHub
- The PR state (open, merged, closed) is visible at a glance
Manual linking
If auto-matching doesn’t work:
- Right-click the worktree lane header
- Select Link Pull Request
- Choose the PR from the list
PR actions
From a PR row in the sidebar:
| Action | Description |
|---|---|
| Changes | View the PR diff in the compare view |
| Worktree | Switch to the linked worktree |
| Open in Worktree | Create a new worktree from the PR branch |
| Open on GitHub | Open the PR page in your browser |
Double-click any PR to open it on GitHub.
GitHub Enterprise
For GitHub Enterprise Server:
- Open Settings > GitHub
- Enter your Enterprise URL (e.g.,
https://github.mycompany.com) - Add your token for the Enterprise instance
Git Canopy will use your Enterprise URL for API calls when working with repositories hosted there.