The Power of Rebasing Before Merging