I have some code I want to share with another developer. We plan to eventually push it publicly, but don't want to have anything public at the moment.
I have a public GitHub account, and I created a repository for some code. That has been pushed to origin (GitHub), and is public.
I have created a branch locally, but have not pushed it to origin yet, as I want to keep it private for now.
Is there any way that we can setup another developer to use my local branch as a remote, without having to push it to origin first?
Can he add a git remote
? And if so, what would he need for the URL for it?
Apologies if I'm getting the terminology wrong, I'm fairly new to Git. I'm using GitExtensions, mixed in with some GitBash, and have my repository hosted on GitHub.