Do galaxies change shape and size over time? Galaxies come in different shapes and sizes. What factors determine the shape and size of a galaxy, and how can these change over time?
The size of a galaxy is dependent on how the matter was distributed in the early universe, and how it collapsed under its own gravity to form clumps of (dark) matter that the galaxies would form around. 

The very earliest galaxies are irregular, but as matter fell towards them, and they developed a consistent orbital direction they formed into a disc. Gravity waves in the disc then show up as spiral arms. Large galaxies that are actively forming stars tend to have this structure. Small galaxies may never reach the point of forming a disc and remain irregular.

As galaxies collide and interact, the orbits of the stars are disrupted. The result of the merger of two large spiral galaxies is often a galaxy in which the stars orbit in all directions, which looks like an elliptical galaxy. Star formation in elliptical galaxies is often very low. Elliptical galaxies are the most evolved form of galaxies. 

The time scale of this evolution is slow. It takes billions of years for galaxies to evolve from one form to another.

The details of the process of galaxy formation and evolution are still uncertain. The exact nature of dark matter will be important in understanding how galaxies form. The role (if any) that black holes play in galaxy formation is uncertain.