git-clone-path
This is a script that helps keep git repositories named and stored in a consistent way. When this script is run, it will clone the specified git repository to a standardized location with a standardized directory structure.
Running either of these commands will result in the same output:
git-clone-path git@github.com:cli/cli.git
git-clone-path https://github.com/cli/cli.git