The evolution of galaxies is linked to the growth and accretion histories of their host dark matter haloes. Weak gravitational lensing allows us to measure the evolution of their dark matter haloes, as well as the larger cosmic web that these haloes inhabit. I will review recent results from weak lensing and other methods that allow us to probe the dark matter content of the Universe on the scale of galaxies and to provide new insight into the processes that shape the evolution of galaxies. I will also discuss the surprisingly tight link between globular cluster systems and the dark matter haloes their host galaxies inhabit.