MuseScore remembers an unlimited number of undo/redo actions.
The standard shortcuts are:
Or use the toolbar buttons: