
Open source software is code that anyone can read, use, change and share under a license that allows it. Contributing to it is one of the best ways to learn: you read real code written by experienced people, receive feedback on your work and build a public record of what you can do. You do not need to be an expert. Projects need documentation, translations, bug reports and tests as much as new features.
Sharing code was normal in the early days of computing. In 1983 Richard Stallman started the GNU Project and later the free software movement, and in 1991 Linus Torvalds released the Linux kernel. The term open source was coined in 1998, when the Open Source Initiative was founded to promote the idea to businesses. Since GitHub appeared in 2008, contributing has mostly meant forking a repository and sending a pull request, and today millions of projects accept help from strangers.
Start with software you already use, such as a library, an editor plugin or a command-line tool. Before investing time, check that the project is alive and friendly:
Many projects label beginner-friendly tasks good first issue or help wanted. You can search for these labels across GitHub.
Every project works a little differently. Read the README, then the CONTRIBUTING.md file, which explains how to set up the project, run the tests, format code and name branches. Also read CODE_OF_CONDUCT.md. Some projects require you to sign a Contributor License Agreement (CLA) or add a sign-off line to each commit, known as a DCO. Skipping these instructions is a common reason first pull requests are closed.
Before writing code, comment on the issue: say that you would like to work on it and briefly describe your plan. Maintainers may point you to the right files or tell you that someone else is already on it. For anything larger than a small fix, discussing first saves you from spending a weekend on a pull request that will be rejected.
If you are new to Git and GitHub, learn the basics first. The usual workflow is:
Keep the change small and focused. One pull request should do one thing; a fix that also reformats twenty unrelated files is hard to review. Before you push, update your branch with the latest changes from upstream so it does not conflict.
On GitHub, open a pull request from your branch to the original repository. A good description explains what changed and why, links the issue with a phrase such as Fixes #123 so it closes automatically when merged, and says how you tested it. Fill in the project's pull request template if there is one, and make sure the automated checks pass. If you are not finished, open it as a draft.
Maintainers will often ask for changes. This is normal, not a rejection: review is how projects keep quality high, and it is the fastest way to write clean and readable code. Reply to each comment, push new commits to the same branch and the pull request updates automatically. Remember that most maintainers are volunteers. A reply can take days or weeks; a polite reminder after a week or two is fine, repeated pinging is not.
Your first contribution may be a single corrected sentence, and that is a good start: once it is merged, you are an open source contributor.
Grade 10 Math: Functions and Reasoning - Quiz
1170 questions