I'd trust a well-bred German shepherd to learn and obey anything. I think a well-bred one could be taught to protect chicks. Some lines of the breed are so overbred they can't learn anything though.
I have two Welsh pembroke corgis. They're super-smart. They were introduced to my first...