First, add the remote repository
$ git remote add
Example:
$ git remote add test-repo git@bitbucket.org:testing/testing-repository
Then, pull the remote branch or master to local branch.
If local branch has not been created yet, create local branch:
$ git branch test_pull
Checkout the branch
$ git checkout test_pull
Now, pull remote branch which named as remote_test_branch
$ git pull test-repo remote_test_branch
What do you think?