add remote origin to branch code example
Example 1: add remote origin git
$ git remote add origin https://github.com/user/repo.git
# Set a new remote
$ git remote -v
# Verify new remote
> origin https://github.com/user/repo.git (fetch)
> origin https://github.com/user/repo.git (push)
Example 2: add remote branch git
git remote add github git://github.com/jdoe/coolapp.git
git fetch github