DEV Community

Cover image for Zero to Hero: Get started with Open Source Projects
Tapajyoti Bose
Tapajyoti Bose

Posted on • Edited on

Zero to Hero: Get started with Open Source Projects

I had been super interested in contributing to Open Source Projects for a long time but didn't have any idea on how to get started. This article is for anyone who wants to get into Open Source Projects development but feels overwhelmed on how to start.

Prerequisite

You will need basic knowledge of git to follow along with this article. We will be focusing on Open Source Projects on GitHub, but the same skillset is transferable to any other git based site like GitLab.

Getting Started

  1. The first thing to do is Fork the repository you want to contribute to:

    Github Fork

    Now you have a copy of the repository in your GitHub account.

  2. Copy the clone link:

    GitHub Clone Link

  3. Execute the command:

    
      git clone <clone link>
    
    
  4. A copy of the repository will be created on your machine. Add Upstream remote, which is just a fancy name for the source repository, using:

    
      git remote add <upstream remote name> <source repository clone link>
    
    
  5. Now you can modify the code. Make sure to commit all the changes you make.

  6. After committing changes, you can update the source repository using:

    
      git push origin <branch name to push changes>
    
    
  7. Now you can create a Pull Request in the source repository and the maintainers would review and merge your code.

How to overcome the fear of starting?

Now that you know how to contribute to Open Source Projects, you might just want to jump right in and contribute to the largest projects on the planet. But I can assure you when you are about to open your first few Pull Request, Imposter Syndrome will hit you real hard with questions like "Would I be able to do this correctly?" and "What if I fail?". The only antidote to this fear is ACTION! If you are feeling unsure, contact the members of the organisation you want to contribute to, as most organisations use some platform like Discord to discuss about the contributions. One year ago I was exactly in your shoes, and now I do have a couple of contributions in some amazing repositories:

Git Contribution

If you start on this journey and keep putting one foot in front of the other even when challenges and difficulties show up, you will make it! Best of Luck :)

You Got This

Finding personal finance too intimidating? Checkout my Instagram to become a Dollar Ninja

Thanks for reading

Want to work together? Contact me on Upwork

Connect to me on:

Top comments (6)

Collapse
 
xixianykus profile image
xixianykus

Simple but very useful. Thanks

Collapse
 
gregorgonzalez profile image
Gregor Gonzalez

I think that's the best way to learn about other people's projects and have a way of practicing.
Thx for sharing 🙌

Collapse
 
ruppysuppy profile image
Tapajyoti Bose

:)

Collapse
 
felipeboliveira profile image
Felipe Oliveira

Great, i have to fight with the impostor syndrome and starting doing some projects, i have to think that is better done than perfect.

Collapse
 
fairushinfadis profile image
Fairushin Fadis

Thank you! A very interesting article, but still there is some fear, but trying is not torture!

Collapse
 
ruppysuppy profile image
Tapajyoti Bose

Well said :)