If I can recommend some literature to buy as well as the guitar, here's some links Guitar Chord Bible: Over 500 Illustrated Chords for Rock, Blues, Soul, Country, Jazz, and Classical (Music Bibles, 8) https://smile.amazon.com/dp/0785820833/ref=cm_sw_r_cp_apan_glt_fabc_C9HAEZHZVF9MHQ53D6X1
Fretboard Mastery https://smile.amazon.com/dp/0793597897/ref=cm_sw_r_cp_apan_glt_fabc_VDKEE56NS00Y3A6EWBA0
Guitar Fretboard: Memorize The Fretboard In Less Than 24 Hours: 35+ Tips And Exercises Included https://smile.amazon.com/dp/1719064873/ref=cm_sw_r_cp_apan_glt_fabc_058HEAKFTY81EVYR60FK?_encoding=UTF8&psc=1
Not sure about every chord, but I've consulted this Guitar Chord Bible for many a year.
This book was pivotal to me when I first started learning the guitar.