#How to work on your own fork
Let's assume you belong to an organization called justiceleague and that you're supposed to submit code to the earth repository. Since I am batman, I do it like this:
- Go to
https://github.com/justiceleague/earthand click on theforkbutton on the top right corner. Wait until github completes the copy. - Now, it's time to
clonethe repository and to add both remotes.
git clone [email protected]:justiceleague/earth.git -o upstream
cd earth
git remote add origin [email protected]:batman/earth.git