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