The code you indicated calls a function in the provable API your contract descends from (is usingProvable). If you open this code and trace through (it can be confusing so take it slow), you will see it chooses a contract address based on environment (mainnet, ropsten, etc) and then executes a call against the remote contract. The remote contract knows the address of your contract (as this is the msg.sender it receives) and is programmed to execute the __callback function of the contract that called it.
Regards,