You could just pay for GitHub to get private repos. If it's something this important to you, it's probably worth a few bucks a month.
This solution is also strange because if you ever committed anything private it will be in the history. So to make this work you either have to rebase over some history, or lose all the history.