Collaborating on a repository
How to fork a repository on github
Open your github,
Search for a user whose repository you are collaborating on
Fork the repository to appear on your account as a forked repo
Clone the forked repo on your computer
git clone repo url
Edit the code and push changes to the repo on github
Open a pull request to merge your edited code to what is on the repo
When the owner reviews and approves, your code will be merged