According to the Star Trek Technical Manual, the USS Enterprise was the third Galaxy class starship. The first prototype of the Galaxy class was the (aptly named) USS Galaxy, it was followed by the USS Yamato, then the USS Enterprise. The USS Yamato appears in the Star Trek: The Next Gerenation episode Contagion.