If it’s open source, a private repo is not protection. Free software licenses allow for unlimited redistribution.
You don’t need to apply the license until after the public release, before then it would just be sharing code with your customers under whatever agreement you want