Question: why did godric gryffindor have a sword?
Answer: Godric Gyffindor was in the medieval-era, so it's just common for someone to own a sword those days. He might have owned a wand, but he had a sword to kill meanies and annoy goblins, so. ... He defended himself against the goblins with his wand.