Migrating an acquired team's GitHub organization: what to preserve

When an acquired team's GitHub organization is folded into the parent, preserve more than code: pull requests, review comments, issue threads, wikis and CI history live on the platform, not in git, and a plain re-push leaves them behind. Transfer or archive repositories rather than delete them, and confirm who owns the code before anyone considers licensing it.

What history does a GitHub organization hold, and how far back does it go?

An organization holds two layers of history. The git layer, meaning commits, branches and tags, travels with any clone. The platform layer, meaning pull requests, review comments, issues, discussions, wikis, Actions runs and releases, lives in GitHub itself and does not move with a plain git push. Code-only integration plans keep the first layer and lose the second.

Git history reaches back to the first commit, which can predate GitHub if the team once used Subversion or another host. Platform history usually starts when the team adopted GitHub, so an acquired team that has worked there for years holds every pull request, review thread and issue since then, including those in archived repositories.

RecordWhere it livesSurvives a plain git push?How to preserve it
Commits, branches, tagsGit repositoryYesMirror-clone every repository, including stale branches
Pull requests, reviews, approvalsGitHub platformNoRepository transfer or migration tooling, with an API export as a backup
Issues, labels, milestonesGitHub platformNoMove them with the repository and keep links to any outside tracker
WikisA separate git repository per projectOnly if cloned on its ownClone each wiki explicitly
Actions runs, logs, artifactsGitHub platform, under retention settingsNoCheck retention settings and export what matters before the old organization closes
ReleasesTags in git; notes and assets on the platformTags onlyDownload release notes and assets
Discussions and project boardsGitHub platformNoExport through the API before the source is retired
Organization audit log and teamsOrganization settingsNoExport before the organization is deleted; availability depends on plan

Feature names and plan limits change, so confirm each row against GitHub's current documentation before the move.

Why do pull requests and issue threads matter to AI buyers?

A pull request is a complete record of one unit of engineering work: the problem (a linked issue), the attempt (the diff), critique (review comments and requested changes), revision, tool feedback (CI results) and a verdict (merged or closed). AI developers building agents that write, test and review code need records of exactly that loop, and private commercial codebases rarely appear on the public web.

The history is worth more when it is connected and consistent:

  • Merges to the main branch go through reviewed pull requests rather than direct pushes.
  • Pull request descriptions explain why the change was made and link the issue or ticket.
  • CI runs on each pull request and the results are kept.
  • Decisions are written down, for example architecture decision records and incident postmortems stored in the repository.
  • Engineering work connects to other systems: a support ticket leads to an issue, a pull request and a release note.

GitHub is rarely the only system worth protecting: chat and support tools often merge in the same quarter; see merging Slack workspaces after an acquisition and keeping ticket history when helpdesk instances merge.

Which migration path keeps the most history?

Transferring repositories, or leaving the acquired organization intact under the parent's enterprise account, keeps the most. Re-creating repositories by pushing git history into new ones keeps the least.

Migration pathWhat usually comes alongWhat is at riskDo this first
Transfer repositories into the parent organizationThe repository with its issues and pull requestsTeam permissions, webhooks, secrets, app installations and links from outside toolsInventory repositories, wikis and integrations; test one low-risk transfer
Keep the acquired organization under the parent's enterprise accountEverything, unchangedLittle history risk; access sprawl and costName an owner and an end date for the old organization
Push git history into newly created repositoriesCommits, branches and tagsPull requests, reviews, issues, wikis and CI historyRun migration tooling or an API export, then archive the source repositories read-only
Import from GitLab or BitbucketDepends on the importerMerge request discussions and review historyTest an import and compare counts before cutover

Two rules cover most of the risk. Archive, do not delete: archived repositories are read-only and keep their history. And preserve before you harmonize: when the parent rolls its retention schedule over the acquired company, old repositories can fall inside a deletion sweep, which the guide to harmonizing data retention policies after an acquisition helps you plan around.

What rights checks come before anyone licenses the code?

Ownership comes first. Code employees wrote in their jobs generally belongs to the company; contractor, open-source, forked and client code each need their own check.

Under US copyright law, a work prepared by an employee within the scope of employment is a work made for hire, and the employer is treated as its author (17 U.S.C. § 101). Commissioned work from outside contractors qualifies as made for hire only in listed categories and with a signed written agreement, as the Copyright Office's Circular 30 on works made for hire explains, so ownership of contractor-written code usually turns on a written assignment. The ownership section of the Copyright Act (17 U.S.C. § 201) also lets any exclusive right be transferred and owned separately, which is how a company can grant a narrow license while keeping ownership.

Code in the organizationLikely ownerWhat to check
Written by the acquired company's employeesThe employing entity, generallyEmployment and invention-assignment agreements; which entity employed the engineers
Written by contractors or agenciesDepends on a signed assignmentContractor agreements and statements of work
Open-source dependencies and vendored librariesTheir authors, under their licensesLicense files, vendored folders and package manifests; exclude third-party code
Forks of public projectsUpstream authors, for upstream portionsSeparate company-authored changes from upstream code
Built for clients under services contractsOften the clientClient contracts; exclude unless the client consents
Bought in the acquisitionThe buyer, if the deal transferred itIP schedules in the purchase agreement and which entity holds the code now

Two companion guides help here: an open-source license audit before licensing a private codebase, and which legal entity can license which records once the acquired entity is merged or kept.

Repositories also carry personal data and secrets: author names and emails in commit metadata, credentials committed by mistake, customer records in test fixtures. Redaction and de-identification rules are settled with the company before work starts, and nothing is delivered until an agreement is executed and the company authorizes it.

This is general information, not legal, tax or financial advice. Confirm ownership questions with the company's IP counsel before acting.

How can an operating partner spot a strong GitHub history without seeing code?

Ask the portfolio CTO or VP of engineering six questions; you never need repository access.

  • Has the organization kept several years of continuous history, including archived repositories?
  • Do merges to the main branch require a reviewed pull request?
  • Do pull requests link an issue or ticket that explains the change?
  • Was most of the code written by employees, or do contractor agreements assign IP?
  • Is client-owned code kept out of the organization, or clearly separated?
  • Can someone run exports and own an inventory?

On size and history, the portfolio company needs 50+ full-time employees at peak (contractors excluded) and several years of documented US operations, plus the right to license what it holds and an executive with authority to sign. The company fit checker gives a preliminary, non-binding read with no contact details required.

A short note to the integration lead before repositories move does most of the work:

Which mistakes erase history during an integration?

  • Deleting the acquired organization when its plan lapses, which removes every repository still inside it.
  • Rewriting or squashing history as a cleanup step; rotate exposed credentials instead where you can, and agree any purge with security and counsel.
  • Moving issues to another tracker without links back to the pull requests that resolved them.
  • Switching off CI services or third-party integrations without exporting their logs.

How do introductions and rewards work for operating partners?

You make the introduction; SourceX qualifies the company on size, history, data breadth and rights, and the company completes a data inventory that can describe repositories, years of history and pull request volume without sharing code. Partners never export, upload or describe confidential records. The page for private equity operating partners covers the role across a whole portfolio.

Partners earn 25% of the eligible platform fees SourceX actually collects from the referred company's licensing deals, capped at $100,000 per referred company. Rewards become payable only after the buyer pays and SourceX receives its fee, and no reward is guaranteed. The reward comes from SourceX's fee and is never deducted from what the portfolio company receives; check your firm's policy on fees connected to portfolio companies before you join.

Next step

Before the next integration milestone, put the six questions to the CTO and keep the old organization archived until the answers are in. If the company looks like a fit, register as a partner and make the introduction, or share your referral link so the CEO can apply at sourcex.si/apply.

  1. Step 1Share your linkSend your personal link to a company you know.
  2. Step 2Company appliesThe company applies itself at /apply.
  3. Step 3Buyer selects and paysThe buyer selects and pays for the data and SourceX receives its fee.
  4. Step 4You get your rewardYour share of SourceX fees becomes payable.

Common questions

Should we keep the acquired GitHub organization or fold it into ours?

Folding repositories into the parent organization simplifies access, billing and security policy, while keeping the acquired organization under the parent's enterprise account preserves everything with the least effort. A common sequence is to keep the old organization intact, transfer active repositories, then archive the rest. Whichever route you choose, the test for licensing value is the same: the pull request and issue history must survive.

Does code written by engineers who have since left still belong to the company?

Generally yes, if they wrote it as employees within the scope of their jobs, because that work is made for hire and owned by the employer. Leaving the company does not change that. Check their employment and invention-assignment agreements, and confirm which legal entity employed them, especially when the acquired company was merged into the parent after closing.

Can an operating partner make the introduction without repository access?

Yes, and that is the expected route. The partner only introduces the company and shares basic fit information such as headcount, years of operation and which systems it uses. The company's own team describes repositories in its data inventory, and any code or records move only after rights review, an executed agreement and the company's authorization.

Do open-source dependencies in our repositories rule out a license?

No. Open-source components are common in commercial codebases. The usual approach is to scope the license to code the company wrote and owns, and to exclude vendored third-party libraries and the upstream portions of forked projects. An open-source license audit identifies what to exclude before anything is described to buyers.

Can repositories from a product the company has already shut down still qualify?

They can, as long as the repositories and their platform history still exist and the company owns the code. Archived repositories keep their pull requests and issues. A company that is still operating, has been acquired or has wound down can qualify if the data survives, so the priority with a retired product is to stop any deletion before the organization or plan lapses.

How long should the old organization stay archived after the migration?

There is no universal period. Keep it at least until the team has confirmed that pull requests, issues, wikis and CI history arrived intact, any licensing assessment is finished, and legal holds or retention obligations are met. Set the date in the integration plan with counsel and the security lead rather than letting a plan renewal decide it.

Free resources

By SourceX Partnerships Team · Published 2026-10-09 · Updated 2026-10-09

Know a US company with valuable proprietary data?

Become a referral partner from anywhere we support, get your link and introduce an owner or authorized decision-maker.

Refer a company →

I own a business

Explore licensing your company's data to AI developers worldwide. Start a short assessment; no uploads needed.

Start an assessment