git remote set-url --add --push origin https://USERNAME@bitbucket.org/WORKSPACE/REPOSITORY.git //this will push to both repositories git push origin