The following document shows how to create different kind of links (URL) to documents hosted on GitHub's.
The examples are based on a document hosted in end2endzone/RapidAssist repository.
The path to the document inside the repository is: src/rapidassist/filesystem.cpp.
https://github.com/end2endzone/RapidAssist/blob/master/src/rapidassist/filesystem.cpp
Links to raw file will be displayed directly in the browser if supported by the browser. Supported files include source code, text file, images, etc.
For examples,
https://raw.githubusercontent.com/end2endzone/RapidAssist/master/src/rapidassist/filesystem.cpp
or
https://github.com/end2endzone/RapidAssist/blob/master/src/rapidassist/filesystem.cpp?raw=true
or
https://github.com/end2endzone/RapidAssist/raw/master/src/rapidassist/filesystem.cpp
Links to raw file will be downloaded automatically if not supported by the browser.
For examples,
https://raw.githubusercontent.com/end2endzone/NonBlockingRTTTL/master/docs/NonBlockingRtttl.xcf
or
https://github.com/end2endzone/NonBlockingRTTTL/blob/master/docs/NonBlockingRtttl.xcf?raw=true
or
https://github.com/end2endzone/NonBlockingRTTTL/raw/master/docs/NonBlockingRtttl.xcf