Someone copied my code on GitHub
A code dispute can be a license dispute. If you published your code under an open-source license, copying it may be exactly what you allowed. The question is then whether they kept the conditions, and only if they did not is there anything to file.
Start with your own license
No license at all
All rights reserved by default. Publishing it elsewhere is likely infringement.
MIT, BSD, Apache 2.0
Copying is allowed if your copyright notice and license text are kept. Stripping them can be a breach.
GPL or AGPL
Copying is allowed if the copy stays under the same license with source available. Closing it can be a breach.
Your own commercial license
Whatever your terms say. A paid theme or plugin republished free is the common case.
A fork of a public repository on GitHub, made with GitHub's own fork button, is generally something GitHub's terms allow for public code. The cases that support a notice are a repository that removes your license and claims the code as its own, code from a private or commercial product published openly, or a paid theme or plugin given away.
How GitHub's DMCA process works
GitHub publishes its DMCA takedown policy in its documentation, with a notice form. A notice carries the six statutory parts and identifies the infringing repository and, where you can, the specific files. GitHub publishes the notices it receives in its public github/dmca repository, with personal contact details removed. Expect the rest of yours, including the rights holder's name, to be public.
Forks are not taken down with the parent
Where a notice names only part of a repository, GitHub first gives the owner about one business day to change it. Otherwise the repository is disabled and its owner told why. They can respond with a counter-notice, and the statute then allows the repository to return after 10 to 14 business days unless you start a court case. Someone who believes they were within your license may do exactly that, which is why the license question comes first. GitHub's repository of notices also carries a warning to users: reposting the same content after a takedown, without going through that process, breaks its policy.
What makes a code notice hold up
- 1
Your original, dated
The repository URL, the commit history showing your code existing first, and the release where it was published.
- 2
The copied files, specifically
File paths in both repositories, and the matching sections. Copied comments, typos, variable names and unusual structure are the strongest evidence that code was copied rather than written independently.
- 3
The license, and the breach
If your code is open source, say which condition was broken: the copyright notice removed, the license text deleted, the copy relicensed.
- 4
Nothing that is not yours
Leave out shared dependencies, boilerplate generated by a framework, and anything you took from elsewhere yourself.
Ask first, or file?
For an open-source license breach, asking first can work and costs nothing. Open an issue on their repository, point to the license condition they broke, such as the copyright notice or the license file, and ask them to restore it. Many people who strip a license did it carelessly, and a public issue fixes it faster than a notice would. If they restore the attribution, the infringement is gone and there is nothing left to file.
For a paid theme, plugin or private code published openly, asking first can be a mistake. The repository can be copied by others while you wait, and the person who published it knows exactly what they did. File, and list the forks.
Either way, a notice to GitHub is public and permanent in its github/dmca repository, with your contact details removed but the substance kept. That is a reason to make sure the notice is one you would be comfortable having read by other developers.
Code copied outside GitHub
Republished themes and plugins also turn up on download sites, on marketplaces and inside other people's websites. A download site is a notice to whoever serves the file. A theme listed for sale on a marketplace goes through that marketplace's intellectual-property process. Your code running inside an app on a store is covered in app copied on an app store.
Reimplementation is not copying
Someone writing their own code that does what yours does, with the same features and a similar API surface, has not copied your code. Copyright protects your expression, not your functionality, and the line between them in software is contested. A notice that treats a rewrite as a copy is the kind that GitHub publishes and the developer community notices. We look at the files before anything is filed, and we decline the ones that are similarity rather than copying.
These routes are newer to us than websites and marketplaces. GitHub's policy was read in its published documentation on 2 November 2026; we confirm the live process when your case opens. Open a case with the link to the copy and your original repository.
Last reviewed November 2, 2026. This is general information about a US statute, not legal advice, and we are not a law firm.
What people ask next
They kept my license but changed the name. Is that allowed?
Under a permissive license such as MIT, usually yes, provided your copyright notice and license text are kept. Renaming the project does not breach it on its own.
Will the developer be told who filed?
Yes. GitHub publishes notices in its public github/dmca repository, with personal contact details removed, and the repository owner is notified.
Can I get a whole account removed?
Not with one notice. GitHub, like every US provider relying on the safe harbor, has a repeat-infringer policy, and what it does with an account is its decision.
Related
My app was copied on the App Store or Google Play
An app that copies your code, artwork, screenshots or listing text: what copyright protects in an app, how Apple and Google Play handle disputes, and what evidence to prepare.
The law, plainlyWhat is § 512(f)?
The provision that makes a knowingly false takedown notice actionable, what Lenz v. Universal added, and how a sender stays on the right side of it.
If this happened to youA DMCA takedown service for anything you made
What a DMCA takedown service does for each kind of copied work, where each notice has to go, what to check before you hire anyone, and what no service can promise.
Free to start · you approve every copy
Point us at the copy.
Scan your website for copies of your text and photos, or open a case with the link to anything else. You see exactly what we would file before we file it.
Not a website? Open a case instead