gh repo clone
gh repo clone <owner/repo> [folder]
Risk: Safe
What it does
Copies a GitHub repo to your computer, like git clone.
When to use it
To start working on a project that is on GitHub.
Example
$ gh repo clone aina-codes/diaryCopy the diary repo into a new diary folder.
Learn it in: GitHub CLI · Official docs