Public code on GitHub

Is there a way to leave the app public, but keep the GitHub code private? I don’t want people to see the code in Python… wanted to keep it private.

Just use a private repo. The privacy of the repo and the privacy of the app are two different things.