VS Code-style source control, GitLens-style history and GitHub pull requests, in Orca's sidebar.
Install · Features · Requirements · Permissions and privacy · FAQ · Contributing
GitScope puts the three tools most developers keep open next to their editor into one Orca panel: the Source Control view from VS Code, the history and stash tooling from GitLens, and the GitHub Pull Requests workflow. It works on whichever workspace Orca is showing, including linked worktrees, and opens its diffs and pull request pages as tabs in Orca's editor area.
- Why GitScope
- Features
- Install
- Quick tour
- Requirements
- Permissions and privacy
- Configuration
- FAQ
- Development
- Contributing
- Security
- License
- One panel instead of three tools. Stage, commit, browse history, stash, switch worktrees and review a pull request without leaving Orca.
- Familiar on day one. Names, menus and button positions follow VS Code and GitLens, so what you already know still works.
- Line-precise. Stage or revert a single line, a hunk or a selection, the way VS Code does.
- Native to Orca. It uses Orca's theme, header style and editor tabs, and follows the workspace you are looking at.
- Safe by default. Destructive actions ask first, a stale diff is refused instead of applied, and nothing leaves your machine unless you start it.
- Staged, unstaged and merge-conflict groups, as a list or a folder tree, with live
+added −removedcounts. - File and folder right-click menus: Stage, Unstage, Discard, Open File, Copy Path, Reveal, Add to
.gitignore. - In the diff: ➜ Revert Block and + Stage Block in the centre gutter, plus Stage, Unstage or Revert Selected Lines on a selection.
- Commit, amend, sign off, commit and push or sync, and Undo Commit, which puts the message back in the box. An optional AI-drafted message comes from GitHub Copilot CLI or the Claude CLI.
- A commit graph with Incoming and Outgoing groups, merge-base compare and a fetched-at line.
- Expand a commit to its files, or open all of its changes in one tab.
- GitLens's commit menu: cherry-pick, revert, reset (soft, mixed, hard), rebase, checkout, create branch or tag, copy SHA or message, open on the remote.
- Lists for Created by me, Review requested, All open and Closed, with checks and review state.
- A full PR page: conversation, reviewers, labels, milestone, checks, files changed and commits. Click a commit's name or SHA to open its diff.
- Comment, review (approve, request changes), merge (merge, squash, rebase, auto-merge), update the branch, convert to draft, close and reopen.
- Stashes: Apply or Pop from one prompt, Rename, Drop, Inspect, Compare with HEAD or the working tree, Compare with Selected, copy SHA, message or patch.
- Repositories: the main checkout is the top row; linked worktrees sit beneath it. Click a row to switch Orca to that worktree. Create and delete worktrees from the menu.
- Explorer: branches, remotes, tags and contributors, each with their actions.
- The same groups and order as VS Code's Source Control menu: Commit (amend, sign off, undo last), Changes, Pull and Push, Branch, Remote, Stash, Tags and Worktrees.
- Create a pull request from the Create PR icon with searchable Base and Merge pickers that list every branch, a title and description drafted from your commits, and expandable Files Changed and Commits.
- Explorer: branches with ahead and behind counts, remotes, tags and contributors, each with their actions.
Colours, fonts and radii come from Orca, so the panel and the diff viewer read well in both its light and dark themes.
- In Orca, open Settings → Plugins.
- Search for GitScope and choose Install & enable.
- Approve the access it asks for (see Permissions and privacy).
If it is not listed in your Orca yet, add the community marketplace first: Settings → Plugins → Add marketplace, URL https://github.com/stablyai/orca-community-plugins.git, ref main.
orca plugin install https://github.com/Hackoak/GitScope.gitgit clone https://github.com/Hackoak/GitScope.git
cd GitScope
npm install
orca plugin dev load .Orca prints a fingerprint for the folder; approve it with orca plugin dev reload . --approve <fingerprint>.
- Open a workspace and the Source Control icon in Orca's right sidebar.
- Click a changed file to open its diff. Use the gutter + to stage a block, or select lines and right-click.
- Type a message and press ⌘Enter (or Ctrl+Enter) to commit.
- Open Commits, expand a commit, and click a file to see what it changed.
- Use the + in Pull Requests, or the Create PR icon on the repository row, to open a pull request.
| Needed for | Requirement |
|---|---|
| Everything | Orca >= 1.4.248 and git on your PATH |
| Pull requests | The GitHub CLI (gh), signed in with gh auth login |
| AI-drafted messages | GitHub Copilot CLI (default) or the Claude CLI |
Developed and tested on macOS. Linux and Windows are supported in code (Reveal uses open, xdg-open or explorer) but have had less testing; please report problems.
GitScope declares full access (trusted-worker). Its worker is a Node.js process that runs git, gh and the AI CLIs as you, so Orca shows the "Full access" warning when you install it. It asks Orca for three capabilities:
| Capability | Why |
|---|---|
workspace:read |
Find the folder, branch and worktrees of the workspace you are looking at |
workspace:write |
Open another worktree's workspace and open diff tabs in the editor area |
storage:own |
Remember your commit draft, tree or list view and section sizes |
What it does not do:
- It sends no telemetry and has no server of its own.
- Network requests go only to GitHub (through
gh), and to the AI CLI you chose when you ask for a message. - Contributor avatars come from Gravatar and GitHub only after you agree in the panel; the only thing sent is a hash of each author's email address.
- Diff tabs are small stub files written under
.git/orca-scm/, never into your working tree.
The code is plain TypeScript and HTML with no build step, so what you install is what you can read.
GitScope has no settings screen. Optional environment variables, read by the worker:
| Variable | Purpose |
|---|---|
ORCA_SCM_GH_PATH |
Path to the gh binary if it is not on your PATH |
ORCA_SCM_PROVIDER |
copilot (default) or claude: which CLI drafts messages |
ORCA_SCM_COPILOT_PATH, ORCA_SCM_CLAUDE_PATH |
Paths to those CLIs |
ORCA_SCM_COPILOT_MODEL, ORCA_SCM_CLAUDE_MODEL |
Model to ask for |
ORCA_SCM_OPEN_COMMAND |
Command used by "Reveal in File Manager" |
Is this an official VS Code, GitLens or GitHub product? No. It is an independent Orca plugin that follows their interaction patterns. VS Code, GitLens and GitHub are trademarks of their owners.
Does it replace Orca's built-in Git panel? No. They sit side by side. GitScope adds line-level staging, the commit graph, stashes, worktrees and pull requests.
Pull request actions say gh is missing or not signed in.
Install the GitHub CLI and run gh auth login. If it is installed somewhere unusual, set ORCA_SCM_GH_PATH.
A commit from a pull request will not open. The commit is not in your local clone yet. Fetch or check out the pull request's branch and try again.
"This change was edited since it was shown. Refresh and try again." The file changed between showing the diff and applying your choice. GitScope refuses to apply a stale hunk instead of guessing; refresh the diff and try again.
Where are my commit drafts stored? In the plugin's own storage inside Orca, per workspace. Nothing is written to your repository.
npm install
orca plugin validate . # manifest and files, the way the directory checks them
orca plugin test . # worker tests (needs Orca's CLI)
npm test # panel and editor smoke tests in jsdom
npx tsc -p . --noEmit # types (run `orca plugin types .` once first)
orca plugin dev watch . # load into Orca and stream logsImages in assets/ are generated from the real pages with demo data: npm run shots (needs Google Chrome). See CONTRIBUTING.md for the layout of the code.
Bug reports, ideas and pull requests are welcome. Read CONTRIBUTING.md first, and follow the Code of Conduct. Changes are listed in CHANGELOG.md.
Please report vulnerabilities privately; see SECURITY.md.
MIT © 2026 Hackoak





