I am trying to download a file from a github repository and I would like to use ssh (using scp) instead of downloading over HTTPS. Is it possible? Could you give me an example? Thank.
No, It is Immpossible. Git repositories are not made up of actual files, but a collection of incremental changes.
Therefore, you must clone the repository to get the file. Github only offers HTTPS uploads as "services".