DEV Community

Discussion on: How to get Clone a private Github repo!?

Collapse
 
chuniversiteit profile image
Chun Fei Lung

This works!

Alternatively, you can use SSH keys. They’re a bit safer, as you don’t end up with secrets (your personal access token) in your history.

Windows/macOS users who are looking for a really easy solution can just use the GitHub Desktop client to clone private GitHub repositories (you can still use git for other Git operations if you prefer the CLI).