I have a repository in github with X number of branches and a repository in a closed network.
I need to move all of the repository to the one on the closed network. How do I clone all the branches (not just the default master), so I could then push it to the closed-network one with all the branches existing.
Entering the repo binary is not the issue here.
I want the same result as if I cloned my repo and did git branch
to each branch, so it would be initialized locally.