Use Sie (you, formal) with strangers and du (you, informal) with friends.
- Hallo = Hello
- Guten Morgen = Good morning
- Guten Tag = Good day
- Tschüss = Bye
- Wie geht es Ihnen? = How are you? (formal)
Say it out loud: greet your teacher formally and your friend informally.