There are many possible ways to provide a link, but none of them will work 100% of the time.
- Understand the issues with how companies handle resumes
- Think about what will best represent your skills
Just because the resume you send works in whatever format you send it in, never make the assumption that the people on the receiving end will end up maintaining your format.
You could send a PDF which gets scraped using OCR so they can screen your resume.
The plain text could be put in a separate 'company-standard' format that excludes the hyperlinks.
The document could be handed to hiring managers on paper only.
The safest thing to do is assume that hyperlinks will not work, and someone needs to be able to access the document on paper.
So my guess is that a link to your github profile won't tell me much about what you actually spent time on, or why these projects are meaningful, or if you've ever got them working properly. Even if an interviewer had infinite time (they don't), it would still probably be quite the task to sift through all the code you've ever written.
You should find out what best sells your skills.
Applying for a gaming company and you've written your own game up on Github? Link directly to that project along with a blurb about why it's important.
Applying for a job that requires supporting a team with tools? Send them a list of tools that you've created with a link to easily find them all in one place if they want to look deeper.
Applying for a job as a lead developer? Link to a project(s) that you've led with several contributors and explain why you are a good fit.
Applying for a job that requires you to be self-motivated? Explain what percentage of your projects you've completed and give a link to your profile (completed and not).
The point is that there is no "one-size fits all" method to write a successful resume, and the best ones will be modified to meet the needs of the people doing the hiring (even if it is more work on your end).
There are a dozen ways to make this easier on you. You can use URL Shorteners so that even when printed it is easy to type in. You can have a personal domain where you can set up an easy-to-type page that has the relevant information for that employer. You can put in a hyperlink to the document with the URL added as a footnote in smaller text 'just in case'. Or anything else you can think of.
So long as you know what they want, provide it in a format they can access, and make it take as little in time and headaches as possible, you shouldn't have a problem.