This isn't the best answer, but it's an answer. If you pay for private repos, you can hide what you want to hide, keep your commit streaks up, and only make public the stuff that you want to show off. It allows the best of all the worlds, but for a (cheap) price. It makes complete sense to work privately until you're happy with something, have a chance to clean it up, and then make it public.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This isn't the best answer, but it's an answer. If you pay for private repos, you can hide what you want to hide, keep your commit streaks up, and only make public the stuff that you want to show off. It allows the best of all the worlds, but for a (cheap) price. It makes complete sense to work privately until you're happy with something, have a chance to clean it up, and then make it public.