git get a branch from origin code example Example: pull down remote branch git git fetch origin git checkout --track origin/<branch_name>