Like stars, most galaxies do not have names.
In the 19th century, the exact nature of galaxies was not yet understood, and the early catalogs simply grouped together open clusters, globular clusters, nebulas, and galaxies: the Messier catalog has 110 in total.