>>3137558I have no idea where the german one comes from.
You usually shake hands, especially on a formal occasion.
If you meet someone who is your friend on a non-formal occasion, especially if you haven't seen them in a while, a loose hug may be appropriate.
If you're both commies (politicians), you do pic related.
If you're both Nazis, better not raise your arm, that's illegal.
Nodding as a greeting is really only used when you walk past someone you barely know or see them in a distance.