How to Contribute to a GitHub Project
Want to contribute to a GitHub project but not sure how to get your code into the main repo? Here are the steps to take to start contributing to an open source GitHub project that is not your own.
1. When you are on the project's GitHub page click the fork button in the top right:
After you click fork, the repo in its current state should be copied over to your repo list as one of your repos. Notice how in the screenshot below, the repo is now a repo of your username, and it says "forked from AFNetworking/AFNetworking" indicating we are no longer on the main repo page.
2. Clone the forked repo you just made (rajohns/AFNetworking in this example). Copy the clone URL as shown below and do a git clone https://github.com/rajohns08/AFNetworking.git
3. Assuming you have the GitHub desktop client downloaded, add the repo you just cloned.
4. Make whatever changes you want to make to the codebase then commit then sync your changes to GitHub.
5. Navigate back to the main repo page on GitHub and click the pull request button.
6. Click "compare across forks" so you can choose to merge from your fork.
7. Select your cloned repo from the head fork section.
8. Click Create pull request.
You will be presented with one more screen where you can add more details to your pull request if you would like. And that should be it! You will now have to wait on your changes to be merged in by the repo admin or someone with write access to the repo.