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 tourgit clone https://demo:[email protected]/demo/shop.gitA read-only sample shop with its recommender and fraud model fenced off.
acme/shopon GitHubalice's copyalice's Claude Code
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 itYour team stays on GitHub. Everyone else gets a fence.
How it works- Connect your GitHub repo. Your team keeps working there.
- Pick who sees what, per folder or file.
- Each person and agent gets their own clone.
- 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.
- Week 1Their area onlyApplied
- After 30 daysRead the rest, except the folders you protect ApproveNot yetSkip
- After 90 daysFull team accessWaiting
The New hire ladder. Also built in: Contractor (stays as set) and Trial task (ends after 7 days).
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.
- Needs a humanAdd gift cards to checkoutPayments, new dependency
- Low riskFix cart rounding2 files in src/cart
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 showsalice was offboarded
- Removed from acme/shop.
- 2 sign-ins revoked, including 1 AI agent (claude-code).
- 1 pending request closed.
Exit packSigned PDF + JSON
- Every access change, and who approved it
- What she and her agents were served
- The agreements she signed
- Agents and tokens, with when each was revoked
Nothing changes for your own team
Tests and honest limitsThey 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 GitfenceBuilt 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.