The basic step when committing to open source projects is to fork the project. Then the process is easy you create your branch and you make a pull request. However, from time to time, you need to adjust your branch based on the latest changes.
You may also like: Top 20 Git Commands With Examples
This is how you sync your fork to the original one.