git push origin all branches 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
Example 3: push all branches to remote
//push all local branches to remote
git push --all