how to push all the branches to new repository code example
Example 1: git push all branches
git push --all
Example 2: push all branches to remote
git push REMOTE '*:*'
git push REMOTE --all
git push --all
git push REMOTE '*:*'
git push REMOTE --all