I want to make my repo private

I have a website deployed on netlify for free. The code for website is hosted on GitHub , I’ve connected my GitHub repo to netlify for deployment. Now I want to change the visibility of that repo to private. Can I change visibility of repo without affecting the website?

Hi, @Batman. Yes, you can make it private without impacting Netlify’s ability to clone or pull it. At GitHub, you are granting Netlify access using the Netlify GitHub app:

With this GitHub app, Netlify will still have access to the repo when it is private. This will continue until you remove the GitHub app (or add fine-grained permissions within the app which block our access to a specific repo).