The official brand form is GitHub: capital G and capital H, with no space or hyphen. Common mistakes include Github, Git hub, Git-Hub, or gitHub. Fixing these small errors lifts the polish of emails, docs, and resumes.
Quick answer
Write GitHub (capital G, capital H, no space or hyphen). Use github.com for domains and GitHub's for possessives.
- Prose: GitHub
- Domain: github.com (lowercase)
- Possessive: GitHub's documentation
Core explanation: one rule to remember
Treat GitHub as a camelCase proper noun: two words combined with capitals at each element (Git + Hub). In running text use GitHub; in URLs use github.com; in code preserve the case the system expects.
- Correct: GitHub
- Incorrect: Github, gitHub, Git hub, Git-Hub
Spacing: why "Git hub" is usually wrong
Separating the name into two words turns the brand into a generic phrase. If you truly mean a generic hub for Git projects, rephrase to avoid confusion; otherwise use GitHub for the platform.
- Platform: GitHub
- Generic: a hub for Git projects
- Wrong: Upload your code to the Git hub for review.
- Right: Upload your code to GitHub for review.
Hyphenation and punctuation: avoid Git-Hub and odd breaks
Do not insert hyphens, slashes, or commas into the brand name. Add punctuation outside the name like any other proper noun. For awkward possessives, prefer a short rewrite.
- Wrong: Git-Hub, Git/Hub, Git,Hub
- Right: GitHub; GitHub's
- Wrong: Refer to the Git-Hub's policy page for details.
- Right: Refer to GitHub's policy page for details.
- Rewrite: the documentation on GitHub
Capitalization and code contexts
Use GitHub in prose. Domains commonly appear in lowercase (github.com). In command-line examples and code, preserve the exact case that the system requires; repository names can be case-sensitive on some systems.
- Prose: GitHub
- URL/CLI: github.com or git clone [email protected]:owner/repo.git
- Code: match the repository's actual casing
- Wrong: Check the issue on github.com/owner/repo for details.
- Right: Check the issue on GitHub at github.com/owner/repo for details.
Real usage: copyable sentences for work, school, and casual messages
Below are common wrong/right pairs grouped by use-case. Use the corrected lines verbatim when possible.
- Work - Wrong: Please review the PR I opened on Github.
- Work - Right: Please review the PR I opened on GitHub.
- Work - Wrong: Github sent a notification about the outage.
- Work - Right: GitHub sent a notification about the outage.
- Work - Wrong: Upload the file to Github.com so QA can run the test.
- Work - Right: Upload the file to GitHub so QA can run the test.
- School - Wrong: I cited the data from Github in my lab report.
- School - Right: I cited the data from GitHub in my lab report.
- School - Wrong: See the commit on Github: github.com/owner/repo/commit/123
- School - Right: See the commit on GitHub: github.com/owner/repo/commit/123
- Casual - Wrong: u can push it to github, thx!
- Casual - Right: You can push it to GitHub, thanks!
- Casual - Wrong: I found the script on gitHub in the README.
- Casual - Right: I found the script on GitHub in the README.
Examples and quick rewrites (copy-and-paste fixes)
Sometimes a small rewrite reads better than a straight capitalization fix. Here are wrong, corrected, and improved variations you can paste directly.
- Wrong: I put it on Github for you.
- Rewrite: I uploaded it to GitHub for you.
- Wrong: See the PR on Git hub.
- Rewrite: See the pull request on GitHub.
- Wrong: Github's API is down.
- Right: GitHub's API is down.
- Wrong: The repo is on Git hub under the 'docs' team.
- Right: The repository is on GitHub under the 'docs' team.
- Wrong: See Github for the latest binary.
- Right: See GitHub for the latest binary.
Rewrite help: quick diagnostic and three-step fix
Run this fast check when you spot a variant and use the templates below if the sentence still feels awkward.
- Step 1 - Identify context: platform (prose), URL, or generic phrase.
- Step 2 - Apply correct form: GitHub for prose; github.com for URLs; rephrase generic uses.
- Step 3 - Read the sentence aloud; if it sounds clumsy, use a template rewrite.
- Diagnostic: Bad: "I uploaded it to github, its in the repo."
- Fix: "I uploaded it to GitHub; it's in the repository."
- Diagnostic: Bad: "See Github's README for setup instructions."
- Fix: "See GitHub's README for setup instructions."
- Work template: "FYI - an issue on GitHub is blocking the release: [link]".
Memory tricks and quick checks
Use small cues and automated finds to catch common variants quickly.
- Mnemonic: Split and cap both parts - Git + Hub = GitHub.
- Reminder: "H for Hub" helps you remember the second capital.
- Proof method: Ctrl+F for Github, gitHub, Git hub, Git-Hub and replace with GitHub.
- For docs: run a grep for the variants and fix capitalization only in prose sections.
Similar brand mistakes to watch for
Other brands have internal capitals or nonstandard casing. Apply each brand's published styling consistently.
- YouTube (not Youtube), iPhone (not Iphone), LinkedIn (not Linkedin), eBay (not Ebay).
- Wrong: I posted the video on Youtube.
Right: I posted the video on YouTube. - School example - Wrong: My essay cites sources on Github and Google. Right: My essay cites sources on GitHub and Google.
FAQ
Is Github correct or should I use GitHub?
Use GitHub. "Github" is a common misspelling; the official form capitalizes both G and H.
Can I write github.com in an article?
Yes. Domains are typically lowercase. In the surrounding prose, refer to the platform as GitHub.
How do I make GitHub possessive?
Add an apostrophe and s: GitHub's API. If that sounds awkward, write "the API on GitHub".
Should I capitalize the H in GitHub on my resume?
Yes. Use the brand-correct "GitHub" in professional materials.
When is "Git hub" acceptable?
Only when you intentionally mean a generic hub for Git projects. For the platform itself, use GitHub.
Quick check before you publish
Run a targeted find/replace for common variants and scan possessives. Small capitalization fixes are fast and noticeably improve polish.
If you want automated help, a grammar tool can flag brand-name capitalization and suggest concise rewrites for clarity.