I know it's not addressing the crux of your post, but Alt-. does the last word on the previous command.
So I do:
git clone whatever wherever
and I am happy :)
Yeah, Alt-. is a great alternative to !$!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.