What counts as a contribution on GitHub?
Creating or forking a repository always counts. Commits, issues, pull requests, pull request reviews and discussions count when they meet GitHub's conditions, the main one being that they happen in a standalone repository and not in a fork.
When a commit counts
All three of these must be true: the email address on the commit is linked to your GitHub account, the commit is in a standalone repository and not a fork, and it is on the repository's default branch or its gh-pages branch.
On top of that, at least one of these must be true: you are a collaborator on the repository or a member of the organisation that owns it, you have forked it, or you have opened a pull request or an issue in it.
Why a commit you made is missing
The usual causes are a commit email that is not linked to your account, work that is still on a feature branch and has not been merged into the default branch, and commits made in a fork that have not been merged upstream.
git log -1 --format='%ae' # the email on your last commitIssues, pull requests and discussions
These count only when they are opened in a standalone repository, not a fork. GitHub also limits how many of them it displays, so the graph may not show every one.
Private work
If you choose to show private contributions on your profile, other people see how many contributions you made each day and nothing else: no repository names and no details.
gitsquashed reads the same public calendar, so it follows that setting. With it off, private work is not counted.
Where this comes from
More questions
How do I get a GitHub Wrapped for 2026?
Why is my GitHub contribution count different in different places?