git clone from custom url code example Example: git clone repo with name git clone https://github.com/foo/repo_name.git new_directory_name