Have a Dog in the Hunt (Fight, Race)

What does the idiom “Have a Dog in the Hunt (Fight, Race)” mean?

Definition:

To support a certain person in a competition

For example:

“I’ll be happy working under either Carl or Sheila—I don’t have a dog in that hunt.”

Notes:

“Hunt” is the usual version in the USA.