A person’s commits made can be seen with their GitHub ID in the commit history and the person is also added as a collaborator. Yet the person is not showing as a Contributor.
I have a GitHub repository created by me, which was private until now. To allow my friend to commit to it, I had added him as Collaborator (in the “Manage Access” section).
After getting access to the then private repository he committed several times. But, his name never got into the contributors. It felt maybe, of the repository being private.
But now when the repository is turned public, his name is yet not included in the contributors.
Note: Both of us are relatively new to GitHub.