Introduction; 1. Maurer–Cartan methods; 2. Operad theory for filtered and complete modules; 3. Pre-Lie algebras and the gauge group; 4. The gauge origin of the twisting procedure; 5. The twisting procedure for operads; 6. Operadic twisting and graph homology; 7. Applications.