Open the desired Github repository.
Navigate to and open desired text file.
Click copy icon.
Now, the code is stored in your
clipboard.