Why is my GitHub contribution count different in different places?

Most often because the two numbers cover different periods: your profile's headline counts the last twelve months, while a year view or a year-in-review tool counts a calendar year. Private contributions, unmerged branches, forks and time zones explain most of the rest.

github.com/

The last twelve months and the calendar year

The number at the top of your contribution graph covers the past year up to today. In December that still includes most of last December. Pick 2026 in the year list beside the graph and you get the calendar year, which is what gitsquashed counts.

Private contributions

When you look at your own profile while signed in, you see your private work. Other people, and tools that read your public profile, only see it if you have turned on "Include private contributions on my profile". If your profile is set to private, they see no activity at all.

Branches and forks

Commits count once they are on a repository's default branch. Work on a branch that has not been merged, or in a fork that has not been merged upstream, is not counted yet. Once merged, it usually appears on the day it was written.

Time zones

A commit lands on the day given by the time zone in the commit itself. Issues and pull requests opened on the website use your browser's time zone. A late-night commit can sit on a different day than you expect.

Commits are not contributions

A count of commits from git will not match your contribution total. Contributions also include issues, pull requests, reviews and new repositories, and they leave out commits that do not meet GitHub's conditions.

Where this comes from

GitHub Docs: profile contributions reference

More questions

How do I get a GitHub Wrapped for 2026?

What counts as a contribution on GitHub?

How do I see how many commits I made this year?