git clone repository from folder code example
Example 1: github clone to local folder
cd folder/to/clone-into/
git clone https://github.com/your-repo/project-name.git
Example 2: git clone repo with name
git clone https://github.com/foo/repo_name.git new_directory_name