Germany has reached a landmark deal with Magna, General Motors and governments to save Opel from the imminent bankruptcy of its US parent, German leaders said on Saturday.