Emacs: Clone git repo from clipboard

from blog lmno.lol @alvaro, | ↗ original
Cloning git repositories is a pretty common task. For me, it typically goes something like: Copy git repo URL from browser. Drop to Emacs eshell. Change current directory. Type "git clone ". Paste git repo URL. Run git command. Change directory to cloned repo. Open dired. No biggie, but why go through the same steps every time? We can do better....