No need to compare $new_HEAD and $prev_HEAD

No need to compare $new_HEAD and $prev_HEAD if it's a new branch.