Git: how to pull a remote branch

If you have some branch in remote repository, and want switch to one of it, then just type:

git pull (from master)

git checkout -b remote_branch_name origin/remote_branch_name