The English word "dog" originated from the Old English word "docga," which referred to a specific breed of dog. Its exact origins are unclear, but it eventually replaced the Old English word "hund" as the general term for dogs by the 16th century.
Old English for a type of mastiff I guess.
Still no explanation for its emergence in Ye Olde English, but sounds reasonable to me. 🐩