Skip to main content
1 of 22
Peter Coulton
  • 55.7k
  • 12
  • 55
  • 72

How do I clone all remote branches with Git?

I have a master and a dev branch, both pushed to github, I've cloned, pulled, 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 RTM any I'm getting no joy at all.


Peter Coulton
  • 55.7k
  • 12
  • 55
  • 72