Open Source Contributions
Tags: opensource, programming, begginer, coding
Published: 2018-12-04 22:30:51

---
title: Open Source Contributions
published: true
description: 
tags: #opensource #programming #begginer #coding
---
![alt text](https://thepracticaldev.s3.amazonaws.com/i/fvt9mgu8kod7gw6xbheb.png)

<h3>Benefits of Contributing an Open Source Project</h3>

Opensource is a great way not just to contribute to open source projects but to practice what you have learn while contributing through another person or organizations’ code or project. Without a doubt open source brings benefits not just to the organizations through contributors’ innovative contributions, but the contributor also benefits by putting his or her name on a project, specially if you are looking to gain some exposure.

Another benefit you will find while contributing to open source is that you can get experience working virtually since you do not know the people involved in the project and you base your contribution in written instructions, also by using your critical thinking while reviewing an unknown code or project to provide a solution.

**Gain Programming Experience**

The beauty of an open source is that anyone can contribute, and if you do not have experience it will let you gain programming experience. If you are afraid to damage the code, do not worry, there are controls in place to prevent it, any submission needs to be approved. So, while new programmers gain experience without risking a program (or their jobs), experience programmers work in other relevant activities without ***debugging*** distractions.

**Finding Open Source Projects**

You can find open source projects through GitHub, but you can also join open source communities through twitter or looking in the websites of specific companies you would like to contribute.

**Steps**

1. On GitHub, navigate to the repository you want to contribute

2. Under the repository name, click Clone or download.

3. In the Clone with HTTPs section, click  to copy the clone URL for the repository.

4. Open Git Bash.

5. Change directories to the location of the fork you cloned in Step 2: Create a local clone of your fork.

    To go to your home directory, type just cd with no other text.
    To list the files and folders in your current directory, type ls.
    To go into one of your listed directories, type cd your_listed_directory.
    To go up one directory, type cd ...

6. Type git remote -v and press Enter. You'll see the current configured remote repository for your fork.
```
    
    git remote -v
    origin  https://github.com/YOUR_USERNAME/YOUR_FORK.git // (fetch)
    origin  https://github.com/YOUR_USERNAME/YOUR_FORK.git // (push)
```

7. Type git remote add upstream, and then paste the URL you copied in Step 2 and press Enter. It will look like this:
```

    git remote add upstream https://github.com/your_repository
```

8. To verify the new upstream repository you've specified for your fork, type git remote -vagain. You should see the URL for your fork as origin, and the URL for the original repository as upstream
```
    git remote -v
    origin    https://github.com/YOUR_USERNAME/YOUR_FORK.git // (fetch)
    origin    https://github.com/YOUR_USERNAME/YOUR_FORK.git // (push)
    upstream  https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git // (fetch)
    upstream  https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git // (push)
```