checkout branch to temp-live code example Example: git checkout remote branch git checkout --track origin/<branchname>