To directly reference a file on GitHub you can create the url as below:
Firstly navigate to the file on GitHub and copy the url for the file e.g. https://github.com/disco4now/ArmmiteF407/blob/main/binaries/ArmmiteF407.bin
Now edit is as below. Changing github.com to raw.githubusercontent.com and removing /blob
https://raw.githubusercontent.com/disco4now/ArmmiteF407/main/binaries/ArmmiteF407.bin
Turn it into a link as below [[https://raw.githubusercontent.com/disco4now/ArmmiteF407/main/binaries/ArmmiteF407.bin|Firmware on GitHub]]
It then appears as a link to download the file from GitHub
Firmware on GitHub