git push all branches to another repo code example Example: push all branches to remote git push REMOTE '*:*' git push REMOTE --all