Text this: The moment map and the group of volume-preserving diffeomorphisms: applications to differential geometry