que (Galician) comes from Old Portuguese que, from Latin quid, from Proto-Italic kʷid, from Proto-Indo-European kʷíd, from Proto-Indo-European kʷís, from Proto-Indo-European kʷi- — interrogative base.
que (Galician): that; what; which; how; what