Как скачать из Git Branch
git clone <url> --branch <branch>
to clone/download only the contents of the branch.
Fs
git clone <url> --branch <branch>
to clone/download only the contents of the branch.
git checkout -b newlocalbranchname origin/branch-name
# Or you can do:
git checkout -t origin/branch-name