clone a repo from github command line code example
Example 1: clone code github
$ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY
Example 2: cloning projects from github to local repository
cd [projects-folder]
gh repo clone [user-name]/[project-name]