Detail
Error is similar to the following:
Cloning into 'magento2'...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Solution
Upload your SSH key to GitHub as discussed in the GitHub help page.
Error is similar to the following:
Cloning into 'magento2'...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Upload your SSH key to GitHub as discussed in the GitHub help page.