Gas dynamics of a central collision of two galaxies: Merger, disruption, passage, and the formation of a new galaxy