Bonjour, which translates to "Hello" or "Good morning," is the most common form of greeting in French. It is appropriate for any situation, formal or informal.
Salut, which translates to "Hi," is a form of greeting used among friends or people in the same age group.
I hope this helps! (: