New: do not checkout a branch if there is nothing to merge into it - significant speed improvement