Download File From Github Using Curl |link| Page

To download a file from a public repo, you must use the URL. GitHub’s standard web interface URL includes UI elements that curl cannot parse as a plain file. git - Download single files from GitHub - Stack Overflow

Downloading a single file from GitHub using curl is a faster alternative to cloning an entire repository when you only need a specific script, configuration file, or asset. Depending on whether the repository is public or private, the command structure changes significantly. 1. Downloading from a Public Repository download file from github using curl