find .git repository file ubuntu copy

C++
git clone https://github.com/<user name>/<repository name> <different name>
Source

Also in C++: