See, Installing a theme from a private Git repository - #10
Edit:
Oh. That’s such a crazy idea that I didn’t understand the question.
Like Matt said, the right approach is to develop a plugin. If you want it in a private repo, then you can follow my directions above.