# The following command will create a local branch named foo, tracking the remote branch origin/foo. When you push your # changes the remote branch will be updated. git checkout --track origin/foo
# The following command will create a local branch named foo, tracking the remote branch origin/foo. When you push your # changes the remote branch will be updated. git checkout --track origin/foo