Inherited from Vulgar Latin gallicus (canis) (“French (dog)”), from Gallia (“Gaul, modern-day France”).
Practice speaking and memorizing "galgo" and many other words and sentences in Spanish.