How do I share a private repo?

Over the weekend I started a new project. I put it into a new, private repo. It is my intention to work on it from my work account as well from my home GitHub account. I know that’s possible; I just don’t know how. I had thought all I’d have to do was share the URL to the repo here on GitHub with my work account, but that failed with an HTTP 404 error.

My guess is that there’s a permissions issue. How do I give my work GitHub repo access to the private repo I created with my personal GitHub repo?

You’ll need to add the work account as a collaborator on the repository, see Inviting collaborators to a personal repository.