📝 Git & GitHub

Your first open-source contribution: where to start 🎁

0
Author
04e5cc8b-58ac-4bdc-bdee-661bbb
📅
Published
06.05.2026
⏱️
Reading time
3 min
👁️
Views
39
🌱
Level
Beginner

Open source is software with publicly available source code. Anyone can read the code, propose changes, and contribute. This is how most modern technology is built: Linux, Python, React, VS Code.

Why contribute

For your career:
- Real experience working as part of a team
- A public portfolio — employers look at GitHub
- Recommendations from maintainers of well-known projects

For your skills:
- You read code written by the world’s best developers
- You learn to navigate large codebases
- You adopt professional workflows (PRs, code review, Issues)

For the community:
- You improve tools that thousands of people use every day
- You earn recognition from the community

Choosing a project

Start with what you already use

Your favorite framework, editor, or library — you already have context. You know what’s inconvenient or missing.

Look for beginner-friendly labels

github.com → search → filter "good first issue"

Common labels:
- good first issue — specifically for a first contribution
- help wanted — maintainers need assistance
- beginner-friendly — straightforward tasks
- documentation — fixing docs (a great place to start!)

Sites for finding projects

What to contribute

Documentation (the best starting point!)

  • Fix typos and grammar
  • Add examples to unclear explanations
  • Translate documentation
  • Write a tutorial

Why start with docs:
You don’t need a deep understanding of the code. A PR that fixes a typo gets merged quickly. You’ll learn the contribution workflow without the pressure.

Small bugs

Look for Issues labeled good first issue — they’re usually self-contained and well-described.

Tests

Adding a test for an existing function is a simple task with high value for the project.

Features from Issues

If there’s an Issue saying “add support for X” and nobody has picked it up — that’s your opportunity.

The full contribution workflow

Step 1: Study the project

✅ Read README.md
✅ Read CONTRIBUTING.md — it has the rules!
✅ Check CODE_OF_CONDUCT.md if it exists
✅ Browse open PRs — learn the team's style

Step 2: Find and claim a task

Leave a comment on the Issue:

Hi! I'd like to take this on.
Do I understand correctly that the goal is [your understanding]?
I expect to finish by [rough estimate].

This matters — someone else might already be working on it.

Step 3: Fork → Clone → Branch

# Fork via the button on GitHub
# Clone your fork
git clone https://github.com/YOU/project-name.git
cd project-name

# Create a branch
git checkout -b fix/typo-in-readme

Step 4: Make your changes

Follow the project rules in CONTRIBUTING.md:
- Code style (formatting, indentation)
- Commit message format
- Test requirements

Step 5: Open a PR

A good PR description is half the battle:

## What was done
Fixed typos in README.md (Installation and Usage sections).

## Why
Improves readability for new users.

## Closes
Closes #234

Step 6: Respond to review

The maintainer may:
- Request changes — that’s normal, fix them and push
- Ask questions — answer thoroughly
- Approve immediately — congratulations! 🎉

What to expect

Response time

In active projects: a few days.
In less active projects: weeks or even months.

That’s normal. Don’t rush without a reason.

Requests for changes

Your first PR will almost never be accepted without feedback. That’s learning, not criticism.

❌ Wrong: "Fine, I'm never contributing again."
✅ Right: "Thanks for the review! Fixed — see the new commit."

Rejection

PRs can be declined. Reasons:
- The feature conflicts with the project’s vision
- The problem is already being solved another way
- The code quality doesn’t meet the bar

Thank them for their response and ask how to improve.

Open-source etiquette

Be respectful

Maintainers are often volunteers. They work in their spare time.

❌ "Why hasn't this been fixed for a year?!"
✅ "Hi! I ran into this issue. I'd be happy to help — where should I start?"

Search before filing an Issue

Check that the Issue or PR doesn’t already exist. Duplicates are frustrating.

Smaller PRs are better

A PR with 50 lines will be reviewed faster than one with 5,000. If the task is large, break it into parts.

Follow the project’s style

Even if you dislike their formatting conventions — follow them. A PR is not the place to impose your preferences.

First step: a practice PR

If jumping into a real project feels daunting, do a practice run first:

firstcontributions/first-contributions on GitHub is a repository built specifically for your first PR. You just add your name to a list. Thousands of beginners have made this their first step.

After that practice run, the workflow will feel familiar and the fear will be gone.

Your first contribution to TrailMap

If you’re reading this as part of a course — TrailMap is great practice:
- A clear task (add a route)
- No complex code — just text
- A guaranteed response to your PR

It’s excellent preparation before contributing to real open-source projects!

Your reaction to the article

💬 Comments (0)

🔐 Sign in to leave a comment
🚪 Login
💭

No comments yet

Be the first to share your opinion about this article!

🔗 Similar

Similar articles

Continue learning with these materials

📝

Git Hosting Platforms: Full Comparison 🏆

GitHub, GitLab, Bitbucket — which one to choose? A complete comparison with up-to-date data.

📅 06.05.2026 👁️ 52
📝

What Is a Git Commit and Why Do You Need It? 📸

A commit is a saved snapshot of your project at a specific point in time...

📅 06.05.2026 👁️ 56
📝

Why Git won over every other version control syst…

Today Git is the de facto standard for version control in software development. But it...

📅 06.05.2026 👁️ 51

Did you like the article?

Subscribe to our updates and receive new articles first. Grow with PyLand!