When working on personal or team projects, you may want to keep some contentâlike source code or internal notesâprivate, while still linking to it from documentation. Hereâs whatâs possible using free, personal accounts on GitHub and Google Sites.
You cannot embed or display the contents of a private GitHub repo on a public site like GitHub Pagesâbut you can link to it.
Use a standard Markdown link:
[Internal: Project Source (Private)](https://github.com/your-username/your-private-repo)
README.md when signed into GitHub.â ď¸ Note: On a free GitHub account, you cannot publish GitHub Pages from a private repo at all. Your docs site must be in a public repo.
Yesâbut with limits.
With a free Google Account (e.g., @gmail.com), you can create a Google Site and restrict it to specific people only.
friend@gmail.com, teammate@gmail.com)â Result:
đĄ This makes Google Sites good for small teams or personal notes shared with 1â5 trusted people, but not for open private blogs.
| Feature | GitHub Pages | Google Sites (Free) |
|---|---|---|
| Free hosting | â Yes | â Yes |
| Publish from private repo | â No (requires paid plan) | N/A (not a code platform) |
| Private documentation site | â Only if repo is public (so site is public) | â Yes â can restrict to specific emails |
| Access control | Via GitHub repo permissions (GitHub login required) | Via Google Account emails (Google login required) |
| Public by default? | â Yes (if published) | â No â you choose sharing |
| Password protection | â No | â No |
| Good for: | Public docs, open-source projects | Personal wikis, small-team notes, private journals shared with known people |
docs-template is perfect for this).đ Internal setup guide: [Available here (Google Sites, invite-only)](https://yoursite.google.com)
(Only people youâve invited to the Google Site will be able to open it.)
â ď¸ Never assume readers have access. Always label private links clearly.
By understanding these boundaries, you can build a documentation strategy thatâs both useful and secureâeven on free personal accounts.
This page now gives realistic, actionable guidance for personal/free-tier usersâno enterprise assumptions.