I have to clone a big repository from GitHub and I don't need to get all the branches but only the master and another. I know there is the command
git clone --single-branch
but of course this command only works with one branch.
Is there a good way to go about doing this?