Note: These messages can be disabled now. See Jake’s answer. Read along my answer for the technical explanation.
Everything that is prefixed by remote:
has been sent by the receiving script1 on the server. Bitbucket probably wants to make it easier for you to create a pull request.
1 Example of such a post-receive
hook using echo
to send a message to the user as explained in the link above. It will be called once all the pushed data is completely saved on the server:
Both standard output and standard error output are forwarded to git send-pack on the other end, so you can simply echo messages for the user.
On the server:
git@example.com:~/stackoverflow.git/hooks$ cat post-receive
#!/bin/bash
echo "This is an example of a git hook running at the server"
On the client:
$ git push git@example.com:stackoverflow.git master:master
Counting objects: 1, done.
Writing objects: 100% (1/1), 187 bytes | 0 bytes/s, done.
Total 1 (delta 0), reused 0 (delta 0)
remote: This is an example of a git hook running at the server
To git@example.com:stackoverflow.git
4751391..01882eb master -> master