The three fundamental geometric components of YangMills theory -gauge field, gauge fixing and ghost fieldare unified in a new object: an extended connection in a properly chosen principal fiber bundle. To do this, it is necessary to generalize the notion of gauge fixing by using a gauge fixing connection instead of a section. From the equations for the extended connections curvature, we derive ...