Check out example codes for "pointer vers dépots distants git hub". It will help you in understanding the concepts better.

Code Example 1

git remote add origin <REMOTE_URL>
  
git remote -v

Learn ReactJs, React Native from akashmittal.com