clone remote repo to local code example
Example 1: find .git repository file ubuntu copy
git clone https://github.com/<user name>/<repository name> <different name>
Example 2: take clone from gitbash
$ git clone https://github.com/libgit2/libgit2 mylibgit