This snake grows to about 1.5m in length. What is it?

A twig snake, known in South Africa as the southern vine snake (Thelotornis capensis). It waves its body around to look like a twig, then blows its head up to look huge and frightening when threatened.