Why dont we have mkcd in linux natively boggles my mind :)
Likewise, why doesn't git clone automatically cd into the repo?
The best solution for automatically cd'ing into the repo is to wrap git clone in a shell function or alias. Unfortunately I don't think there's any way to make git clone print the path a repository was cloned to, so I had to do some hacky string processing that tries to handle the most common usage (ignore the "gh:" in the URL regex, my git config just expands it to "git@github.com:"):
https://github.com/Andriamanitra/dotfiles/blob/d1aecb8c37f09...