There are two separate places where ingenious uses of gauge transformations simplify the analysis of Ricci flow considerably.
The Deturck trick is a way to break the diffeomorphism invariance of the Ricci flow (or the prescribed Ricci problem) by fixing a gauge to remove the degeneracy of the symbol. This allows for a much simpler proof of the existence and uniqueness of the flow without using the Nash-Moser inverse function theorem.
The Uhlenbeck trick is another gauge transformation which plays an important role in the analysis. Heuristically, one evolves an orthonormal frame in a particular way along Ricci flow. There's also a conceptual approach to this which fixes a background metric on an abstract vector bundle and evolves a bundle isomorphism. Doing so greatly simplifies the reaction terms for the curvature evolution, and plays an important role in many of the "null-vector condition" calculations.
Is it merely a coincidence that gauge transformations show up in both places, or is there some deeper connection at work here?