How to make a pull request and contribute to OpenSource?

This is how you can make your first pull request and become a contributor to the OpenSource community on GitHub.

Photo by Praveen Thirumurugan on Unsplash

Step 1:) Find an OpenSource on GitHub:

The landing page of GitHub
This is the landing page of GitHub if you are logged in
The search results of GitHub
This is the page for selecting a language or repo
This is the button to fork the repo to your account
The fork button will add the repo to your GitHub account

Step 2:) Cloning the repo on the system:<YourUserName>/<repoName>
git clone<YourUserName>/<repoName>

Step 3:) Pushing the changes to the repo:

git checkout -b new_branch
git remote add upstream<original_creator>/<repo_Name>
git push -u origin new_branch




Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Harsh Prateek

Hi, I am Harsh and I write about coding and learning techniques. I am a student myself and would love to tell everyone my secrets for coding and learning.