Gitfence

Hire the developer. Keep the core.

They get the folders the job needs. The rest never reaches their laptop or their AI agent.

Take the product tour
git clone https://demo:[email protected]/demo/shop.git

A read-only sample shop with its recommender and fraud model fenced off.

acme/shopon GitHubalice's copyalice's Claude Code
Everything, on GitHub, exactly as today.core/ and infra/ were never sent. Not even in the history.The same fence, or a tighter one. Never more than its person.

Example: the repository acme/shop seen three ways. Your team sees everything on GitHub. A new developer's copy has no core/ or infra/ folders at all, not even in the history. Their AI agent gets the same copy or less: here it also has no .github/ folder.

Every developer you hire now brings an AI agent. It reads your whole repo in minutes.

Why ignore files don't stop it

Your team stays on GitHub. Everyone else gets a fence.

How it works
Your GitHub repository connects to Gitfence, where you pick who sees what. Each contractor, AI agent and new hire gets their own git clone, and their pushes come back as pull requests on GitHub. GitHub repo your team, unchanged Gitfence pick who sees what Contractor git clone AI agent git clone New hire git clone Pull request reviewed on GitHub git push GitHub repo, then Gitfence where you pick who sees what, then a git clone per person or agent, then pull requests on GitHub. GitHub repo your team, unchanged Gitfence pick who sees what Contractor git clone AI agent git clone New hire git clone Pull request reviewed on GitHub
  1. Connect your GitHub repo. Your team keeps working there.
  2. Pick who sees what, per folder or file.
  3. Each person and agent gets their own clone.
  4. Their pushes become pull requests on GitHub.

Start small. Widen as trust grows.

Need-to-know on day one, and a schedule for the rest.

  • Each step asks you first. Approve, Not yet or Skip, in the app, by email or in Slack.
  • No re-clone. They run git pull and the new folders are there.
  • End dates remind you. Seven days and one day before, with Extend or End now.

Their AI agent stays inside the fence

It works from its person's copy or a smaller one, and it can't reach past it.

For AI agents
$ cat core/fraud-model.ts cat: core/fraud-model.ts: No such file or directory $ git log --oneline -- core | wc -l 0
Nothing to read. An ignore file leaves the code on the laptop. A fence never sends it.
$ git push remote: GITFENCE REJECTED remote: core/ is fenced for your access remote: Use what your view provides, or remote: ask a repository admin for access
Nothing to push in. A change to fenced code is refused, with what to do instead.
Risky changes wait for you. Payments, sign-in, deploys and secrets need a person.

When they leave, one click ends it.

Every repository, sign-in and agent stops at once. The exit pack is your signed record of what they received.

Anyone can check it at /verify. It isn't a prompt log or legal advice.

What the record shows

Nothing changes for your own team

Tests and honest limits
  • They stay on GitHub

    Same repo, same CI, same reviews.

  • Gitfence down? They don't notice

    Your team never goes through it.

  • An EU company

    HootCodes LTD, Sofia, Bulgaria.

  • Limits said plainly

    Code someone already has can't be taken back.

Ready for a real codebase and a security review

Self-hosted Gitfence
  • Built for big monorepos

    Tested on the full Kubernetes history: 163,000 commits, 31,000 files.

  • Go, Python and TypeScript

    Types only serves the API, so their code still builds.

  • Self-host it

    Your servers and keys, an offline license, no telemetry.

  • SSO and SCIM

    SAML or OpenID Connect, provisioning from your identity provider.

Before you invite someone

Does my core team have to change anything?

No. GitHub stays the source of truth, with your CI, reviews, bots and branch rules. Only restricted people and their agents get a different clone URL. Their pushes arrive as ordinary pull requests that your team reviews on GitHub.

Can a new developer dig hidden code out of git history?

No. Hidden paths are absent from every commit of their view, and the objects never exist in the repository served to them. We test shallow clones, partial clones (--filter), --mirror and direct requests for hidden object IDs on every change. See Security for the full list.

How can someone build a feature against code they can't see?

Two ways. Types only gives them the API without the implementation: TypeScript declarations, or Go and Python stubs that compile, so imports resolve and the project builds and type-checks. Fenced CI runs your real test suite on the full code in a sandbox with no network, and returns redacted output or just pass/fail. Fenced CI runs today when you self-host; on our hosted service we set it up with you.

Can Gitfence take back code someone has already seen?

No, and no tool can. Gitfence controls what someone can see from the moment you fence it. Fence before you invite, and require an NDA before the first clone.

Your team is free. $29 per limited-access person.

Per month. 14-day trial, no card.