remote branch

git remote add remoteName  gitURL
git fetch remoteName
//list all remote branches:
git branch -r
 e.g. remoteName/pu
git branch test remoteName/pu
git checkout test
git merge remoteName/pu
.
.
.
.
git add.
git commit -m "the commit message"
git push remoteName test:pu

Last updated