What's a word or phrase that means "get together with people informally to play music"?

It is called a jam session. It is sometimes shortened as jam. (jam is used as a verb as well.)

An informal gathering of musicians to play improvised or unrehearsed music. [TFD]