PepsiCo has signed a deal to take over the distribution of Rockstar Inc's energy drinks in Germany from 1 July.