clone code in github code example
Example 1: cloning projects from github to local repository
cd [projects-folder]
gh repo clone [user-name]/[project-name]
Example 2: take clone from gitbash
$ git clone https://github.com/libgit2/libgit2 mylibgit