Merge remote branches into single repository