store command before pressing ctrl+c, revive afterwards

view story

http://unix.stackexchange.com – Sometimes I type a lengthy command in my command prompt and then notice that I need to check something before actually pressing return and executing the command. I press ctrl+c, execute the new command and then type the cancelled command again and execute it. Is there a way to "save" the command I am to cancel with ctrl+c and restore it later when I finished the "check something" command? Note that I do not want to open another terminal, because I am on a remote server via ssh. Shellshot: $ git commit -am 'FOO-123: fix issue with dorks around bars'^C $ git status # On branch foo modified: (HowTos)