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