Creating a custom 404 page for your GitHub Pages site - GitHub Docs
You can display a custom 404 error page when people try to access nonexistent pages on your site.
Actions
Flag
You can display a custom 404 error page when people try to access nonexistent pages on your site.