Just remove the links from the remote device (this will extract all the branches, commit, links, etc. for the upstream repo)
git fetch upstream
After that check the required branch (this creates a local copy of the branch)
git checkout -b <branchname> --track upstream/<branchname>
Now, if you want to make changes to this thread in the future, all you have to do is
git pull upstream <branchname>
As mentioned here , try explicitly fetching the branch name:
git fetch upstream master:branch_name
source share