Your first open source contribution looks scarier than it is. You picture yourself fixing a bug in a huge codebase used by millions, while experienced developers judge every line. In reality, most first contributions are small: a typo in the docs, a clearer error message, a missing test. And most maintainers are glad to get them.
This guide walks you through your first contribution step by step: choosing a project, finding a good first issue, the fork and pull request workflow, and handling review. You need a GitHub account, Git installed, and basic comfort with one programming language.
Why open source helps students
| What you practise | Why it matters for jobs |
|---|---|
| Reading code you did not write | Your first job is mostly this |
| Following a project's rules and style | Every team has them |
| Using branches and pull requests | The daily workflow in most companies |
| Taking code review feedback | You will get reviews from day one |
| Writing clear issue comments and PR descriptions | Written communication is part of the job |
A merged pull request on a real project is also something concrete to show an interviewer. It works best alongside your own projects, not as a replacement for them.
If branches and pull requests are new to you, read GitHub collaboration basics first. It explains the same loop on your own repositories.
Step 1: Choose a project
Start with a project you already use or understand. Using it means you know what it is supposed to do, which makes problems easier to spot.
Signs of a beginner-friendly project:
- A clear README and a CONTRIBUTING file.
- Issues labelled "good first issue", "beginner" or "help wanted".
- Maintainers who reply to issues and pull requests within days or weeks, not months.
- Recent commits.
- A code of conduct.
Pro tip: Libraries and tools you used in a college project are good choices: a Python library, a JavaScript framework, a documentation site, or a developer tool. You already know the basics of how they work.
Step 2: Find a good first issue
On GitHub, you can search across projects for open issues with the "good first issue" label and filter by language. Many projects also have a "Contribute" or "good first issue" tab linked from their README.
When you find one, check:
- Is it still open and unassigned?
- Has anyone already commented that they are working on it?
- Do you understand what is being asked? If not, read more of the code or pick another.
Then leave a short comment:
Hi, I'd like to work on this. My plan is to update the installation steps in the README to include the Windows command. Is that the right approach?
Wait for a maintainer to reply, especially if the project's CONTRIBUTING file asks you to. This avoids two people doing the same work.
Good first contribution types
| Type | Example | Difficulty |
|---|---|---|
| Documentation | Fix a broken link, clarify a confusing step | Easiest |
| Typos and wording | Correct error messages or comments | Easy |
| Tests | Add a missing test for an existing function | Easy to medium |
| Small bug fixes | Fix an off-by-one error reported in an issue | Medium |
| Small features | Add a flag or option described in an issue | Medium to hard |
Step 3: Read the rules
Before writing any code, read:
- CONTRIBUTING.md: how the maintainers want contributions made, including branch names, commit style and tests.
- The README: how to install and run the project locally.
- CODE_OF_CONDUCT.md: how to behave in discussions.
Skipping this is the most common reason first pull requests get closed.
Step 4: Fork, clone and create a branch
You cannot push directly to someone else's repository. Instead, you fork it, which makes a copy under your own GitHub account, and work there.
- Click Fork on the project's GitHub page.
- Clone your fork and connect it to the original project, which is usually called
upstream:
git clone https://github.com/your-username/project-name.git
cd project-name
git remote add upstream https://github.com/original-owner/project-name.git
git remote -v
git remote -v should now list two remotes: origin (your fork) and upstream (the original).
- Create a branch for your change. Never work directly on
main:
git checkout -b fix-readme-windows-steps
Follow the project's README to install dependencies and run it locally. Make sure it works before you change anything.
Step 5: Make a small change and commit it
Keep the change focused on the issue. Do not reformat unrelated files or fix five other things at once; that makes review harder.
git add README.md
git commit -m "Add Windows install command to README"
git push origin fix-readme-windows-steps
If the project has tests or a linter, run them before pushing. The CONTRIBUTING file usually says how.
Step 6: Open a pull request
After pushing, GitHub shows a button to Compare & pull request on your fork. Click it and write a clear description:
What: Adds the Windows install command to the README's Installation section.
Why: Fixes #123. Windows users were following the macOS steps, which fail.
How I tested: Followed the new steps on Windows 11 and the project ran.
Writing "Fixes #123" with the real issue number links your pull request to the issue on GitHub, so the issue closes automatically when the pull request is merged into the project's default branch.
Step 7: Handle review
A maintainer may ask for changes. This is normal, not a rejection.
- Read every comment carefully and ask if something is unclear.
- Make the changes on the same branch, commit and push again. The pull request updates automatically.
- Reply to each comment briefly: "Done, updated in the latest commit."
- Be patient. Maintainers are often volunteers.
Common mistake: Arguing with review comments or taking them personally. The maintainer knows the project far better than you do. Ask why if you disagree, politely, and accept their final decision.
Keeping your fork up to date
The original project keeps changing. Before starting new work, update your fork's main:
git checkout main
git fetch upstream
git merge upstream/main
git push origin main
Then create a fresh branch from the updated main for your next contribution.
Open source for students: programmes and events
Some organisations run structured programmes that pair students or new contributors with mentors on real projects, and some events encourage contributions during a fixed month. Rules, eligibility and dates change every year, so read each programme's official site carefully before applying. Do not pay anyone to "get you into" an open source programme.
Showing it on your profile
- Pin the project on your GitHub profile, or mention it in your profile README. See pinned repositories.
- Add a line to your resume: "Contributed a documentation fix and two tests to [project], merged."
- Be ready to explain in an interview what the project does, what you changed, and what the maintainer asked you to fix.
Keep your own projects strong too. A good README matters there as much as in open source; see writing a good README.
A four-week plan
| Week | Goal |
|---|---|
| 1 | Pick two projects you use; read their READMEs and CONTRIBUTING files; run them locally |
| 2 | Find a good first issue; comment and get a go-ahead |
| 3 | Make the change; open your first pull request |
| 4 | Handle review; once merged, pick a slightly harder issue |
Your first merged pull request is the hardest. After that, the workflow becomes routine, and each contribution teaches you a little more about how real software is built. For a refresher on the commands, keep our Git commands guide open.

