Given a check matrix $H$ of the $Ham(3,2)$ code, so $$H = \begin{bmatrix} 1&1&1&1&0&0&0\\ 1&1&0&0&1&1&0\\ 1&0&1&0&1&0&1 \end{bmatrix}$$
Then, the heck matrix for the extended Hamming code can be done by adding a row of$1s$ at the bottom and a columns of $0s$ like so; $$ H' = \begin{bmatrix} 0&1&1&1&1&0&0&0\\ 0&1&1&0&0&1&1&0\\ 0&1&0&1&0&1&0&1\\ 1&1&1&1&1&1&1&1 \end{bmatrix}$$
Why is this true? I know that the extended code adds an extra bit such that the resulting codeword is of even weight. So it'll be $1$ if the codeword has odd weight and $0$ if it has even weight.
The all $1$'s vector is always in the orthogonal complement of an even-weight, even-length, binary, linear code. The extended Hamming code is such a code.
Since the all $1$'s vector is trivially linearly independent with the three other rows of your parity check (all the other rows are zero on the first column) then by augmenting the parity check with that row, the new parity check still has full rank.
But that's exactly what the parity check matrix for an $(n,k)$ linear code is: a full rank $(n, n-k)$ matrix $H$ such that $GH=0$ where $G$ is a generator matrix for the code.