Netlify never stores GitHub Access Tokens.
The only access netlify will have is through a deploy key installed in a specific repository.
We would love to ask for fewer permissions than we do when starting a new project. However GitHub only provides very coarse-grained permissions for their API.
When you start a new project with continuous deployment, we need to be able to browse your GitHub repositories, add a deploy key to the repository you pick and install a webhook to the repo.
Restrict Access for Organizations
If you’re still worried about granting access to sensitive repositories, GitHub lets you restrict application access for organizations.
Once these restrictions are in place, netlify will no longer have any kind of access to the repositories from this organization unless you explicitly whitelist our API application.
We recommend keeping all your most sensitive projects in an organization and enabling third party restrictions. This will make taking advantage of any of the countless applications that can enhance your GitHub experience easier and more secure.
Read more about restricting third party access in GitHub’s documentation
Notice something is incorrect or outdated?
First off, great eye! We appreciate your discovery and want to ensure it gets addressed immediately. Please let us know here.