clone bare push all branches code example Example: push all branches to remote git push REMOTE '*:*' git push REMOTE --all