In the answer, he wrote that
$$\frac{\partial L}{\partial \dot{q}}\frac{d}{dt}\delta q=-\frac{d}{dt}\frac{\partial L}{\partial \dot{q}}\delta q$$
My question is why the sign changed when he had put derivative respect to time before Lagrangian "formalism". Even someone in the comment told me the same thing. But I couldn't understand. I think I am missing something in Differentiation,ain't I?