Title: Geometric aspects of nonequilibrium thermodynamics and thermodiffusion Abstract: I will review some results on a line of enquiry devoted to the interplay between differential geometry and thermodynamics. In particular, I will argue that: A gauge connection emerges from an underlying symmetry of (information) thermodynamics under "coarse graining" and encodes the equilibrium/nonequilibrium nature of a system, with Wilson loops playing the role of thermodynamic forces; Brownian motion on a manifold can be a model of diffusion in temperature gradients when local thermal equilibrium holds, leading to a modified version of the First Law of thermodynamics.