In page 30 of Goldstein's CM there is this line that says, if we are dealing with a system where the Euler-Lagrange equation with $L = T - V$ is satisfied, so does the $L' = L + \frac{dF}{dt}$ where $F(q,t)$ is a differentiable function in $q$ and $t$.
So, to check this I wrote the equation and the result was that:$$ \frac{d}{dt} \frac{\partial }{\partial \dot{q}}(\frac{\partial F}{\partial q}\dot{q} + \frac{\partial F}{\partial t}) - \frac{\partial}{\partial q}(\frac{\partial F}{\partial q}\dot{q} + \frac{\partial F}{\partial t})= \frac{\partial F}{\partial q}\frac{\partial \dot{q}}{\partial q} $$
I am relatively new to Lagrangians, so I assume that $\frac{\partial \dot{q}}{\partial q} = 0$ in the sense that they are independent of each other. But I don't understand what does the function $\dot{q}$ mean in the sense that if $q$ also depends on $t $, can't there be a relation between $q$ and $q'$? For example $q$ can be $e^t$ so that equation wise partial derivative is not zero, i.e $\frac{\partial e^t}{\partial e^t} = 1$.
I can't make sense that there is no relation between $q$ and $q'$ so that each are independent of each other but on the other hand $\dot{q} = \frac{dq}{dt}$ is already a relation between them so they are not independent, at least $q$ implies $\dot{q}$ and other direction holds upto a constant.