clone a directory from github code example Example: cloning projects from github to local repository cd [projects-folder] gh repo clone [user-name]/[project-name]