Glossary termConcept

Fork (Software)

Also known as: Software fork, Project fork

Independent line of development created by copying a project's source code and evolving it separately from the original.

A fork happens when developers take a copy of a project's source code and develop it independently, usually under a new name and with separate leadership. Free and open-source licenses guarantee the legal right to do this, which distinguishes them from proprietary software. On hosting platforms such as GitHub, forking also describes the routine step of copying a repository in order to propose changes through a pull request, which normally does not mean a split in the project.

Forks arise from disagreements over technical direction, governance or licensing, from changes in a project's ownership, or from abandonment. In 2010 community developers forked OpenOffice.org to create LibreOffice, after Oracle acquired Sun Microsystems. MariaDB was forked from MySQL for similar reasons, and OpenTofu was forked from Terraform in 2023 after its owner adopted a source-available license. Some forks reunite with their parent: the io.js fork merged back into Node.js in 2015.

The ability to fork limits the power of any single maintainer or company, because users can continue a project if its stewards lose their trust. That possibility shapes open-source governance even when no fork occurs. Forks also carry costs: communities split, effort is duplicated, users face confusion and trademark law usually requires a new name. In blockchain systems the same metaphor describes changes to a network's rules, as in a hard fork.

Key points

  • Open-source licenses guarantee the right to fork a project.
  • Forks often follow disputes over governance, licensing or ownership.
  • On GitHub, forking usually means copying a repository to contribute changes.
  • The possibility of a fork acts as a check on maintainers and companies.

Related entries

Technology

Free and open-source office suite from The Document Foundation with word processing, spreadsheet and presentation apps built around OpenDocument.

Technology

OpenTofu

DevOpsFOSS

Open-source infrastructure-as-code tool forked from Terraform in 2023 after HashiCorp moved Terraform to a source-available license.

Glossary term

Structures and processes that determine how decisions are made, who holds authority and how conflicts are resolved in open-source projects.

Technology

GitHub

ProgrammingFOSS

Web platform owned by Microsoft for hosting Git repositories and collaborating on software through pull requests, issues and automation.

Technology

Git

ProgrammingDevOpsFOSS

Free and open-source distributed version control system created by Linus Torvalds in 2005, used to track changes in source code.

Organization

Independent charitable foundation under German law that develops LibreOffice and promotes free office software and open document standards.

Glossary term

Hard Fork

Blockchain

Change to a blockchain's rules that is not backward compatible, so nodes that do not upgrade can no longer follow the same chain.

Featured in guides

Referenced by

Other entries that discuss or point to Fork (Software).