Logging in and listing repos is a thing.

You can log in using GitHub credentials and it will return a list of
repositories on GitHub. You can select one of these when you upload your
PDF.
Got authorization working for github.