All great guitarists start from a simple beginning and for most that is learning how to play chords on guitar. Some old school classical teachers insist on students learning scales before showing how these can be adapted to chords but my personal belief is that this is a mistake. The most important aspect of playing the guitar is that it should be enjoyable and not a tedious exercise. It's about playing music after all.
The best way for a new student of the guitar is to learn a few of the basic chords that can be arranged into a song. The constant playing and changing is a vital first step towards gaining confidence with the instrument and flexibility of the fingers. The actual choice of chords to learn will depend on the style of music being learned. A lot of people want to learn how to play blues chords while others wish to end up as a jazz player and while there are some standard chords others are more often found in a particular style of playing.
There are thousands of chords that can be played on the guitar and many can be played in different positions. It is important to know the variations of particular chords since, when playing a complicated fast piece it may be impossible to move quickly to the basic shape and back again. In these cases playing an alternative version further up the fretboard is the answer. The alternatives also have a special nuance that can add flavor to a piece and for this reason it is important to spend a lot of time learning how to play chords on guitar.