command to push all branches to remote repository in git code example
Example 1: push all branches to remote
git push REMOTE '*:*'
git push REMOTE --all
Example 2: push all branches to remote
//push all local branches to remote
git push --all
git push REMOTE '*:*'
git push REMOTE --all
//push all local branches to remote
git push --all