pull everthingrin from main branch git code example
Example 1: pull down remote branch git
git fetch origin
git checkout --track origin/<branch_name>
Example 2: how to pull down a specific branch from github
git clone -b <branch> <remote_repo>
git fetch origin
git checkout --track origin/<branch_name>
git clone -b <branch> <remote_repo>