how to add remote branch in git code example
Example 1: git new branch push to remote
git push -u origin <branch>
Example 2: git add remote
git remote add heroku https://git.heroku.com/arrecs.git
git remote -v
-> heroku https://git.heroku.com/arrecs.git (fetch)
-> heroku https://git.heroku.com/arrecs.git (push)
git remote remove heroku
git remote -v
Example 3: add remote branch git
git remote add github git://github.com/jdoe/coolapp.git
git fetch github