how to set up a local branch to track a new remote branch code example Example: create local branch to track remote git checkout --track origin/some_remote_branch