"Go along with" is an idiom that means acquiesce. It does not necessarily imply agreement, just no active disagreement.
"Get along" is another idiom. In the sentence "Sue gets along with everyone" it means that Sue does not have quarrels or differences of opinion with anyone; she has a pleasant relationship with everyone.
Although our culture promotes individuality there are situations in which it is essential to behave according to specific rules. My father, who served as a medic in WW II, told us that the phrase "go along to get along" was often repeated in training to ensure harmony among men from such varied backgrounds.