It's impossible to say one breed "beats" the other. Both are intelligent, athletic, and loyal, but have different strengths:
Dobermans: Agility, speed, intelligence. Used for protection. Prone to heart disease and Von Willebrand's.
German Shepherds: Highly trainable, strong work drive. Used for police/military. Prone to hip dysplasia.
Choose based on: Experience level, activity level, living situation, family situation.
Research both breeds thoroughly. Every dog is an individual.