sindresorhus/refined-github
The issue has been closed
Restore `useful-not-found-page` links to default branch #3448
fregante posted onGitHub
https://github.com/sindresorhus/refined-github/pull/3430 was supposed to fix it, but then GH removed the automatic redirect.
Test
- 404 branch, file: https://github.com/sindresorhus/refined-github/blob/404/package.json
- 404 branch, folder: https://github.com/sindresorhus/refined-github/blob/404/source