Stage 1 · Lesson 2 of 7
What an open source licence does
Code with no licence is not . By default, copyright law means nobody may copy, change or share someone's code, even when it sits in a public GitHub . An is a legal note that grants those rights, under some conditions.
The keeps the list of approved licences. Most projects use one of a handful: MIT, Apache 2.0, the BSD licences, GPL, LGPL and MPL. You find the licence in a LICENSE file at the root (top folder) of the repository, and in the , the details published with the package.
It matters to you as a contributor because it sets the terms for your own code. When you contribute, you usually agree to license your change the same way.
A question to check yourself, an AI practice session and 1 cheat sheet entry come with the full roadmap. Unlock
Resources for this stage
Start with
- GuideFreeHow to Contribute to Open Source
GitHub · Beginner
How projects are run, how to find one, and what to do before you open an issue
Keep handy
Also worth your time
- 10 Must-Know Open Source Projects to Level Up Your Coding Skills as a Beginner (opens in a new tab)Read
Ten foundational projects worth studying, plus how a beginner starts contributing