Git is licensed under GPL version 2 only
Catalog row in Vendor License Rules · Cited
- Kind
- Licence version
- Statement
- The note at the top of Git's COPYING file limits the project to version 2 of the GPL: not v2.2, v3.x or any later version, unless a file states otherwise. In SPDX terms this is GPL-2.0-only, as distinguished from GPL-2.0-or-later. Recipients cannot elect GPL-3.0 terms for Git. (licence text Version 2, June 1991; as published on 2026-09-27)
- Applies when
- Recording the licence of Git in a software bill of materials or licence inventory; assessing compatibility with GPL-3.0 code.
- Applies to
- Git (command-line tools and source tree), including builds distributed by operating systems and Git for Windows
- Aliases
- GPL-2.0-only; GPLv2 only