You can undo or redo moves by selecting Edit → Undo or Edit → Redo. The toolbar at the top of each game window also includes the toolbar icons: Undo and Redo .

You can rapidly undo one or more moves by holding down Z (the key and the "Z" key at the same time). You can rapidly redo the moves using R.