I think in GIMP they named it the blend tool.
Just pick the colors you want to gradient. Put one in the foreground color box, and the other in the background color box. Then just use the blend tool by dragging it from the bottom of the canvas to the top.
