It is definitely a "1933-1945 Germany against Soviet Union" reference. There's also a German version: lieber tot als rot. The US/NATO version during the Cold war came later
Edit: and there were two ways to "get it," meaning "understand it," not three. That's quite a few comprehension errors in your effort to be critical of this post!
Saying "the right is red" with that much emphasis on "is," is super misleading.
The Republican party, over the last half century, or so, have adopted the color. But very rarely is anyone refereed to as "a red". Someone might say "red vs. blue" as shorthand for Republican vs. Democrat, but that's really as far as the color thing goes. And if you go back a little further, they were switched completely; Democrats used red.
Anyway, it is the boomers' collective PTSD from the McCarthy era that cemented "red" to mean "communist". Unfortunately, the red scare never really ended.