The choice of physical variables in gauge theories is discussed. It is shown that the quantum description is independent of the choice of physical degrees of freedom if physical variables are considered curvilinear in the path integral approach. Then, the conventional path integral with a gauge condition is modified. The found path integral is used for the quantum descritpion of the Yang-Mills fields with an ambiguous gauge (Gribov`s problem). 19 refs.