create local branch to track remote

C++
git checkout --track origin/some_remote_branch
Source

Also in C++: