Suppose I have the following.
$$A= \begin{bmatrix} 1 & -2 & 0 & 3 & 2 \\ 2 & -4 & 1 & 2 & 5 \\ 1 & -2 & 1 & -1 & 3 \\ 3 & -6 & 2 & 1 & 8 \\ \end{bmatrix}\longrightarrow R=\begin{bmatrix} 1 & -2 & 0 & 3 & 2 \\ 0 & 0 & 1 & -4 & 1 \\ 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 \\ \end{bmatrix} .$$
I can see columns 1 and 3 of R must be linearly independent. But how does this imply that the first and third columns of $A$ are linearly independent if row operations don't preserve the column space?
I know that if we get $A^{T}$ into upper triangular form we obtain $$ \begin{bmatrix} 1 & 2 & 1 &3 \\ 0 & 1 & 1&2\\ 0 & 0 &0&0\\ 0 & 0 &0&0\\ 0 & 0 &0&0\\ \end{bmatrix} $$ which implies that cols 1 and 3 of A are independent. This is because row operations in the transpose of A preserve its row space, which is the original column space of A, but this doesn't show how RREF preserves linear dependence of the columns.