How do I actually greet a girl?

Dean0509
I am always confused about if I should just say hello, give a hug, kiss on a cheek, handshake, etc... when I am meeting a girl.

As a guy how would you greet a girl in these circumstances:

1. First time meeting, complete stranger.

2. First time meeting, friend of a friend.

3. First time meeting, girlfriend of a friend.

4. An acquaintance you don't see very often.

5. A friend you see on and off.

6. A close friend.

7. An ex-girlfriend.

8. First time meeting a girl, but only want to be friends.

9 First time meeting a girl, but you would want to date.

Sometimes, I just get these awkward vibes at times, because sometimes I have to think about what I should do. Do I give her a hug? Do I give her a handshake? Do I just say hello and smile?

How would you girls like to be greeted in these circumstances?

Thanks any advice is appreciated!
How do I actually greet a girl?
4 Opinion