Given $4\times 4$ matrix:
$$\begin{vmatrix} x & x+a& 0& 1\\ x+a& x& a& 1\\ 0& a& x& 1\\ 1& -1& 1& 1 \end{vmatrix}=x+a$$
Is it safe to assume that the determinant equals $0$ because there is a column than contains the same numbers(most right) and using Gaussian elimination technique I can turn it into zeroes and then the determinant is $0$. Is it correct?
No, it is not correct, unless that “same number” is $0$. For instance$$\begin{vmatrix}1&0&0&\ldots&0&a\\0&1&0&\ldots&0&a\\0&0&1&\ldots&0&a\\\vdots&\vdots&\vdots&\ddots&\vdots&\vdots\\0&0&0&\cdots&1&a\\0&0&0&\cdots&0&a\end{vmatrix}=a.$$