github clone to local folder

C++
cd folder/to/clone-into/
git clone https://github.com/your-repo/project-name.git
Source

Also in C++: