Companies
AI AcademyCoursesEventsQuizzesJobsCommunity
Contributing to Open Source Projects: A Guide to Your First Pull Request

Contributing to Open Source Projects: A Guide to Your First Pull Request

Learn step-by-step how to contribute to open-source projects and submit your first pull request on GitHub. Discover how to choose a project, master essential Git commands, and understand the fundamental rules of the contribution process.
Techcareer.net
Techcareer.net
●
10.19.2026
●
7 Minutes

Contributing to open-source projects is an effective way to improve your software development skills by working on real-world projects. But what is open source, how can you get started contributing, and how do you submit your first pull request? In this guide, you will learn how to choose a suitable project, make code changes, and share your contributions with the developer community.

What Is Open Source?

Open-source software is software whose source code can be accessed, used, and modified under the terms of a specific license. These projects can be maintained by individual developers, companies, or volunteer communities.

Open-source projects are not limited to large software products. Developer tools, libraries, documentation, educational resources, and web applications can also fall into this category. You do not need advanced software development skills to start contributing.

Why Is Contributing to Open-Source Projects Important?

Working on open-source projects helps you apply the technologies you have learned to real-world use cases. You can also review other developers' code, observe software development processes, and gain experience in an environment similar to a collaborative team setting.

Throughout this process, you learn not only how to write code but also how to communicate effectively about technical topics and improve your work based on feedback from others. Your contributions may become visible on your GitHub profile and help strengthen your technical portfolio.

Contributing to open source does not necessarily mean making code changes. You can also contribute in the following ways:

  • Documentation: Explain installation steps, fill in missing information, or fix typos.
  • Bug reporting: Describe an issue you encounter using reproducible steps.
  • Writing tests: Create tests that check whether the software behaves as expected.
  • Translation: Translate the project's user guide into other languages.
  • Code development: Add new features or fix existing bugs.

Even making a small documentation correction can be a valuable way to learn the open-source contribution workflow.

How to Find an Open-Source Project

The first step is to choose a project that matches your interests and current skill level. If you are just getting started, you can look for projects built with a programming language you already use, with clear documentation and a well-defined contribution process.

GitHub is one of the most widely used platforms for discovering open-source projects. When researching projects, consider more than their popularity. Pay attention to how welcoming their communities are to contributors and whether the projects are actively maintained.

Consider the following criteria when choosing a project:

  • Your interests: Choose a project related to an area you want to explore, such as Python, JavaScript, artificial intelligence, or web development.
  • Contribution guidelines: If the project has a CONTRIBUTING.md file, review its contribution rules.
  • Open issues: Look for issues labeled good first issue on GitHub.
  • Project activity: Check recent changes, open issues, and how developers respond to feedback.
  • Licensing and rules: Review the project's license and contribution requirements.

The good first issue label is used to identify tasks that may be suitable for newcomers. However, you should not assume that every issue with this label will be easy. It is important to review the issue description and technical requirements before getting started.

What Is a Pull Request?

A pull request (PR) is a mechanism for submitting changes for review before they are merged into a project's main codebase. On platforms such as GitHub, developers can review proposed changes, leave comments, and request revisions.

For example, imagine that you discover an incorrect command in a project's installation guide. You can fix the issue in your own copy of the project and submit the change as a pull request. Project maintainers can then review the change, accept it, request modifications, or explain why it is not suitable.

Creating a pull request does not guarantee that your contribution will be accepted. The goal is to prepare a contribution that follows the project's guidelines and participate in the review process.

How to Submit Your First Pull Request

The first pull request process involves several steps, from copying a project to your own account to submitting your changes for review. The following workflow applies to many open-source projects hosted on GitHub. Keep in mind that individual projects may have different requirements outlined in their contribution guidelines.

1. Fork the Project to Your Own Account

A fork creates an independent copy of another GitHub repository under your account. This allows you to work on your own copy without directly modifying the original project.

Open the GitHub repository you want to contribute to and select the Fork option. To download your copy to your computer, use the repository URL and run the following command:

git clone https://github.com/username/project.git

Replace the URL with the address of your own forked repository. Then navigate to the project directory and explore its files.

2. Create a New Branch

A branch allows you to make changes independently of the main development line. Creating a separate branch for each contribution helps keep your work organized and makes your changes easier to review.

You can create a new branch in the terminal with the following command:

git checkout -b docs-fix-installation

Choose a branch name that describes the change you plan to make. For example, you can use docs-fix-installation for a documentation update or fix-login-error for a bug fix.

3. Make Changes and Run Tests

Explore the project and address the issue you identified. Try to keep your changes small and focused so that the purpose of your contribution is clear and the review process is easier.

If you are modifying code, follow the project's testing instructions. If you are updating documentation, check the links, commands, and accuracy of the explanations. Before submitting a pull request, make sure your changes produce the expected results.

4. Commit and Push Your Changes

A commit records your changes at a specific point in time. Using a descriptive commit message helps other developers understand the purpose of your changes.

git add .
git commit -m "Fix installation instructions"
git push origin docs-fix-installation

These commands stage and record your changes, then push the branch to your GitHub repository. Before using git add ., it is good practice to check that only the files you intend to submit have been modified.

5. Create a Pull Request

After pushing your branch to GitHub, you will usually see an option to create a pull request on your repository page. You can open a new pull request by comparing your changes with the target branch of the original project.

In the pull request description, explain which issue you addressed, what you changed, and which checks or tests you performed. If there is a related issue, include a link to it. This helps project maintainers evaluate your contribution more easily.

What Should You Consider When Submitting a Pull Request?

Keeping your first pull request small and clear makes the review process easier. Following the project's contribution guidelines and explaining the purpose of your changes are just as important as technical accuracy.

Here are some key points to keep in mind:

  • Read the contribution guidelines and follow the project's code formatting conventions.
  • Avoid combining multiple unrelated changes into a single pull request.
  • Run the tests and mention the results in your description.
  • Respond constructively to feedback from other developers.
  • Make requested revisions and push updates to the same branch.
  • Do not present someone else's code or content as your own without permission.

It is normal for your changes to be rejected or for additional revisions to be requested during your first attempt. Treat feedback as a learning opportunity. With each contribution, you can become more comfortable with the process.

You do not need to wait until you can develop a major feature to contribute to open-source projects. Start by choosing a project that interests you and making a documentation correction, reporting a bug, or submitting a small code change. Consistent contributions can help you develop your technical skills, gain experience working with communities, and strengthen your portfolio with tangible examples of your work.


More Stories

REDMI 17 Özellikleri Belli Oldu: 7.500 mAh Batarya ve 120 Hz Ekran!

REDMI 17 Özellikleri Belli Oldu: 7.500 mAh Batarya ve 120 Hz Ekran!

Xiaomi REDMI 17 tanıtıldı. 7.500 mAh batarya, 45W hızlı şarj, 120 Hz ekran, 50 MP kamera ve HyperOS 3 ile gelen REDMI 17’nin özelliklerini keşfet.
19.10.2026
●
3 Minutes
TECHCAREER
About Us
techcareer.net
Artificial Intelligence (AI) Competency Academy
SOCIAL MEDIA
LinkedinTwitterInstagramYoutubeFacebook

tr

en

All rights reserved
© Copyright 2026
support@techcareer.net
İşkur logo

Kariyer.net Elektronik Yayıncılık ve İletişim Hizmetleri A.Ş. Özel İstihdam Bürosu olarak 31/08/2024 – 30/08/2027 tarihleri arasında faaliyette bulunmak üzere, Türkiye İş Kurumu tarafından 26/07/2024 tarih ve 16398069 sayılı karar uyarınca 170 nolu belge ile faaliyet göstermektedir. 4904 sayılı kanun uyarınca iş arayanlardan ücret alınmayacak ve menfaat temin edilmeyecektir. Şikayetleriniz için aşağıdaki telefon numaralarına başvurabilirsiniz. Türkiye İş Kurumu İstanbul İl Müdürlüğü: 0212 249 29 87 Türkiye iş Kurumu İstanbul Çalışma ve İş Kurumu Ümraniye Hizmet Merkezi : 0216 523 90 26