Fixing typos in my previous command

TIL that you can easily fix typos in your previous terminal command and re-run it.

This is my original command that I typoed, where I misspelt the word upstream:

$ git help upstreasm

No manual entry for gitupstreasm

Typing and running ^easm^eam fixed and re-ran the incorrect command - replacing the incorrect letters easm with eam to get my original intended result:

$ ^easm^eam

git help upstream

'upstream' is aliased to 'rev-parse --abbrev-ref --symbolic-full-name @{u}'