Don't just mash the up arrow. By adding a few lines to your .zshrc , you can type the first few letters of a command (like git ) and press the up arrow to cycle only through previous git commands.
Real-time syntax highlighting catches typos before you hit enter. zshacksorg full
Panic flared. He grabbed the power cable, but his hand passed right through it like mist. He was becoming data. Don't just mash the up arrow