I want to show that the lie group $G$ of affine transformations of the form $$ \begin{bmatrix} 1 & c & -\frac{c^2}{2} \\ 0 & 1 & -c \\ 0 & 0 & 1 \end{bmatrix} + \begin{bmatrix} a \\ b \\ c \end{bmatrix} $$ for $a,b,c\in\mathbb{R}$ is isomorphic to the Heisenberg group given by matrices of the form $$ \begin{bmatrix} 1 & x & z \\ 0 & 1 & y \\ 0 & 0 & 1 \end{bmatrix}$$ for $x,y,z\in\mathbb{R}$.
My idea was to identify both groups with $\mathbb{R}^3$ and then I hoped to see that the induced group multiplications on $\mathbb{R}^3$ are the same for both groups. But this is not the case (at least the way I choosed my maps). If I identify an element of the Heisenberg group with a vector $(x,y,z)$ then the induced group multiplication is $(x,y,z)\cdot (x',y',z')=(x+x',y+y',z+z'+xy')$. But when I identify an element of $G$ with a vector $(a,b,c)$, then the induced multiplication is $(a,b,c)\cdot (a',b',c')=(a+a'+b'c+c'\frac{c^2}{2},b+b'-cc',c+c')$ (assuming I have no mistake in my computation). So this does not work.
Is there a better way to see that those groups are isomorphic?
One method, that eliminates the appearance of the sticky quadratic term, is to show instead that the Lie algebra $\mathfrak g$ of $G$ and the Lie algebra $\mathfrak h$ of the Heisenberg group $H$ are isomorphic. This fact, together with the fact that both $G$ and $H$ are connected and simply connected (the manifolds underlying both are diffeomorphic to $\Bbb R^3$), implies that $G \cong H$ as Lie groups.
Now, $\mathfrak g$ consists exactly of the infinitesimal affine transformations of the form $${\bf u} \mapsto \pmatrix{\cdot&C&\cdot\\\cdot&\cdot&-C\\ \cdot&\cdot&\cdot} {\bf u} + \pmatrix{A\\B\\C}, \quad \textrm{which we respectively denote $(A, B, C)$,}$$ and $\mathfrak h$ consists of the matrices $$\pmatrix{\cdot&X&Z\\\cdot&\cdot&Y\\\cdot&\cdot&\cdot}, \quad \textrm{which we respectively denote $(X, Y, Z)$.}$$
Computing Lie brackets gives $$\begin{align}[(A, B, C), (A', B', C')] &= (C B' - B C', 0, 0),\\ \quad [(X, Y, Z), (X', Y', Z')] &= (0, 0, X Y' - Y X'). \end{align}$$
Remark If you prefer to produce an explicit group map, one can exponentiate $\phi$ to yield a Lie group isomorphism $\tilde{\phi} : G \to H$ that maps $\exp W$ to $\exp \phi(W)$ for all $W \in \mathfrak g$. Generically computing matrix exponentials is complicated, but because $\mathfrak g$ (and therefore $\mathfrak h$) is nilpotent, one only needs finitely many terms in the usual expansion $\exp W \sim I + W + \tfrac{1}{2} W^2 + \cdots$---the rest are zero. Carrying this out gives that $$\tilde\phi(A + \tfrac{1}{2} B C - \tfrac{1}{6} C^3, B - \tfrac{1}{2} C^2, C) = (C, B, A + \tfrac{1}{2} BC).$$ (Notice that triples here represent elements of the groups, as in the statement of the original problem, not of their Lie algebras.) Solving to write $\tilde\phi(a, b, c)$ in terms of a generic element $(a, b, c) \in G$ recovers precisely the isomorphism in Steve D's answer: $$\color{#bf0000}{\boxed{\tilde\phi(a, b, c) = (c, b + \tfrac{1}{2} c^2, a + \tfrac{1}{6} c^3)}} .$$
Note that we computed the exponential $\exp : \mathfrak g \to G$, but I only mentioned the formula for the exponential of a matrix (Lie algebra), and $\mathfrak g$ is not given as a set of matrices. This is no problem, as we can apply a standard trick: It's straightforward to check that we can identify $\mathfrak g$ with a matrix algebra via the map $$(A, B, C) \leftrightarrow \left({\bf u} \mapsto \pmatrix{\cdot&C&\cdot\\\cdot&\cdot&-C\\ \cdot&\cdot&\cdot} {\bf u} + \pmatrix{A\\B\\C}\right) \mapsto \pmatrix{\cdot&\cdot&\cdot&\cdot\\A&\cdot&C&\cdot\\B&\cdot&\cdot&-C\\C&\cdot&\cdot&\cdot} .$$