I created a github for my organization, which has multiple members. This repo has both private and public repositories which we all contribute to from our own github profiles. Meaning, I log in with MyName@github.com and the repositories are in Organization@github.com.
I am trying to clone one of the private repositories (through the command line) and I found the way to do that was with git clone git@github.com:username/repo.git
but this is not working for me. I get the error fatal: The remote end hung up unexpectedly
. So, since the repo is not on my profile, but the organizations' one, I am a little confuse as to how to access it.
Does anyone know how to clone this type of repo?