In this course, you'll learn how to build and host a secure repository in GitHub. A secure repository prevents sensitive data from being exposed, enforces secure development best practices, and safe guards unintended access rights permissions.
In this course you will learn how to:
- Opt-in to vulnerability detection for private repositories
- Note: These settings are enabled by default for public repositories that are not forks.
- Detect and fix security vulnerabilities in repositories when notified by the security vulnerability alert
- Keep updated with security best practices by leveraging the use of a
.gitignore
file
For this course, you'll need to know how to create a branch on GitHub, commit changes using Git, and open a pull request on GitHub. If you need a refresher on the GitHub flow, check out the [the Introduction to GitHub course]({{ host}}/courses/introduction-to-github).
Is your repository public? If so, skip below to step 4. These features are enabled by default on public repositories. If this is a private repository, continue with the instructions here.
- Click the Settings tab in your repository.
- Scroll down until you see Data services.
- Under Data services, click the check boxes to enable all of the data services.
- Scroll down to GitHub Pages. Select
master
as a Source, and click Save. - Close this issue.
For a printable version of the steps in this course, check out the [Quick Reference Guide]({{ host }}/public/{{ course.slug }}.pdf).
Sometimes I respond too fast for the page to update! If you perform an expected action and don't see a response from me, wait a few seconds and refresh the page for your next steps.