Earn it: GitHub Achievements Academy home

GitHub 7: Contributing to open source

Contributing to a project you use is the best way to learn from experienced developers, build a public track record, and earn badges the honest way. It's also a little intimidating. This lesson is the unwritten etiquette that maintainers wish everyone knew.

Find the right project

The best first project is one you already use: a library, a WordPress plugin, a tool, a docs site. You understand its users, and you'll notice the rough edges.

Signs a project welcomes newcomers:

  • Recent commits and PRs that get merged, not hundreds sitting untouched
  • A CONTRIBUTING.md file and a code of conduct
  • Issues labeled good first issue or help wanted
  • Maintainers who reply kindly in issues

Before you write code

  1. Read CONTRIBUTING.md. It tells you how they want PRs, which tests to run, and whether they need something like a CLA (Contributor License Agreement) or DCO sign-off (git commit -s).
  2. Search existing issues and PRs. Someone may already be on it.
  3. For anything bigger than a typo, comment on the issue first: "I'd like to work on this. My plan is X. Does that sound right?" Wait for a maintainer to agree. This one step prevents most rejected PRs.
  4. Claim it, then deliver. If you can't finish, say so, so someone else can pick it up.

Making the contribution

You already know the mechanics from Lesson 3: fork, branch, commit, PR. On top of that:

  • Match the project's style, even where you'd do it differently
  • One change per PR. Don't fix three unrelated things at once
  • Run their tests and add one for your change if you can
  • Fill in the PR template completely, and link the issue (Fixes #123)
  • Keep your branch up to date with their main (Git 5)

After you open the PR

  • Be patient. Many maintainers are volunteers. A week without a reply is normal. A polite nudge after about two weeks is fine.
  • Respond to every review comment, and push fixes to the same branch. The PR updates automatically.
  • Don't take it personally. "Can you change X?" is the process working, not criticism.
  • If it's declined, ask what would help next time, thank them, and move on. Some ideas don't fit a project's direction, and that's their call.

Contributions that aren't code

These are just as valued, and often more needed:

  • Docs: fix confusing instructions, add examples, translate
  • Bug reports with clear steps to reproduce (GitHub 2)
  • Triage: confirm bugs others reported, find duplicates
  • Answering questions in Discussions (Galaxy Brain)
  • Testing betas and reporting back
  • Sponsoring maintainers (Public Sponsor)

Please don't

  • Send AI-generated or automated PRs you haven't read, run and understood
  • Open "fixed typo" PRs to dozens of repos just to collect merges
  • Comment "+1" or "any update?" over and over. Use a reaction instead
  • Argue in public when a maintainer says no

All of these burn out maintainers, and they're noticed. See FAIR-PLAY.md.

Exercise

  1. Pick one tool you use every week and find its repo.
  2. Read its CONTRIBUTING.md and browse its open issues.
  3. Find one thing you could genuinely help with, even a confusing sentence in the docs, and either comment on an issue or open a small PR.

Learners Wall: add a line about your first contribution to someone else's project. That's a milestone worth recording.

You've finished GitHub skills

Between the three tracks so far, you now know how to use Git confidently, work the way professional teams do on GitHub, and contribute to open source with good manners. Consider giving back: answer a question in our Discussions, or improve a lesson that confused you.

Next: put it all together in the Repo recipes track, starting with Repo 1: Foundations every repo needs

Check what you learned

1. Before working on a bigger change, what should you do?
2. No reply to your PR after a week. What's reasonable?
3. Which contribution is NOT welcome?

Show the answers
  1. Comment on the issue with your plan and wait for agreement: This one step prevents most rejected PRs.
  2. Be patient, and nudge politely after about two weeks: Many maintainers are volunteers. A week of silence is normal.
  3. Unread AI-generated PRs sent to many repos: Unreviewed automated PRs burn out maintainers.

Your progress is saved in this browser only.

Last reviewed November 2026. Improve this page on GitHub. Every fix you send counts toward Pull Shark.