How to "Undo" an edit?

You have a few options. You can press Command + Z (or the Windows equivalent) like you would in any app.

You can use the back arrow found in the Ribbon tab. (see screen shot)

You can use the “Tool Windows” menu to show the History Window and in there you have a more detailed Undo History. (see screen shot)