The genotype of green stemmed tomato plant is GG, whereas the genotype of a purple stemmed tomato plant is gg. In the first generation, the stem colour would be green. Because G is a dominant trait and g is recessive.