Merges master to another branch with highest priority.