git clone repo with name

Shell
git clone https://github.com/foo/repo_name.git new_directory_name
Source

Also in Shell: