Answer:
Yes, the guitar evolved form a variety of stringed instruments but the closet two related instruments are the Lute and the Oud (Middle Eastern frettless). However there are different variations on the guitar such as the Harp Guitar which is the most closely related to the Theorbo and something like, say a 12 string guitar is influenced by the design of cultural variations on zithers. One more thing, the first instrument to actually have guitar in the name was the baroque guitar, however this instrument only had four playing strings and later a drone bass string was added. That's about everything in a nutshell, hope this helps.