I know in resumes some people include the company logo beside each job they've had, and I'm' personally not a fan of that. However I'm thinking of including a link to my github or linkedin profile on my resume. Is there any particular format that is common? I was thinking of putting them at the bottom with an image beside the logo. Could it be copyright infringement to put the logo beside the link?
Github and linkedin do make it easy for you to use their logo and link to them if you wish. After all, it's free publicity for them and it's only in their best interest for you to do that.
"If you want to use the GitHub logo or Octocat to link to any part of GitHub in your website or third-party application, we have a set of media files you can use, along with guidelines for how you can use them."
"Promote your profile by adding a badge to your blog, online resume, or website:"
That being said, I agree with Kesham. Unless you're a designer, a graphics artist, or someone in the creative field, it would be unusual to micro-optimize your (paper/word/pdf) resume in that way. And from the other question you posted today, I am assuming that you're a system operator or a sysadmin and are only applying for those kind of positions. Please disregard my comment if it that's not the case.
Now the way I link to sites like github on my paper resume is like this:
(Don't mind the space, I added the space because StackOverflow won't let me bold only a portion of the link. Obviously, only use that bold style if it looks good with the rest of the style of your resume)
And disregard everything I've said if you're talking about a web version of you resume, or a blog. Obviously, buttons, badges, and/or logos with links are perfectly fine on your own web site.