How to clone all remote branches in Git?
Asked 07 September, 2021
Viewed 2K times
  • 61
Votes

I have a master and a development branch, both pushed to GitHub. I've cloned, pulled, and fetched, but I remain unable to get anything other than the master branch back.

I'm sure I'm missing something obvious, but I have read the manual and I'm getting no joy at all.

30 Answer