cara mengunduh dari cabang git

git clone <url> --branch <branch>

to clone/download only the contents of the branch.
Fs