Dogs were first domesticated between 20,000 and 40,000 years ago, and humanity has not been shy about selectively breeding traits they find practical for survival or even just aesthetically pleasing.
The World Canine Organization has identified 360 different breeds on a global scale, and that only takes into account breeds that reach a certain level of recognition, age, and population size.