how to add an upstream to a git project
open terminal
git remote add upstream [url].git where [url] is the address of the repository. if you use github and feel lazy the clone/download button will have the .git address you need with a convenient copy button.
[source]