Find files by where you downloaded them
from:github finds files whose recorded source is GitHub.
How to do it
- Press ⌘F.
- Type from:github to find files whose recorded source is GitHub.
- Mix it with other filters, for example from:github ext:zip.
- Sources come from the where-from information macOS records for downloads; a copied file can lose it.
More detail in the guide: Advanced search syntax