You can undo or redo moves by selecting Edit → Undo or Edit → Redo. The Speed/Status Bar at the bottom of each game window also includes the shortcut 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.