It comes from Latin where it means neither of the two, where ne : means none, and uter means either (of the two).