You're looking for a solid resource that covers programming principles and practice using C, specifically in PDF format, and possibly available on GitHub. Here are a few suggestions: