git remote add remote branch code example
Example 1: git check upstream url
git remote show origin
Example 2: add remote branch git
git remote add github git://github.com/jdoe/coolapp.git
git fetch github
git remote show origin
git remote add github git://github.com/jdoe/coolapp.git
git fetch github