What Are the Best Chords to Master When You First Learn Guitar?

Learning the guitar is exciting, but it can be overwhelming. You have all these frets and strings, some of which make the same sounds (like the 5th fret on the low E string and the open A string). How to make sense of all this?