Here are the steps to commit a change to an open source project on github.
Fork the repo by clicking the fork button on the github website
Clone the repository to your machine
Add the original git repository as an upstream remote.
Now if you want to get the latest changes from the original repository, you can use:
Create a feature branch to do your changes
Modify the code and commit to the feature branch. Try to keep your commits clear and concise.
Push your modifications to your remote
Back on github, click the Pull Request button
Select the commits you want to include, write a message and submit.
That’s it !