Your avatar is not showing on the list of commits in github. Here is how to fix it:

Check your account

This should be obvious but let’s start by checking that your profile picture is properly set up. This can be done within the github settings page.

Check your git config

If everything is in order with your account’s settings, there is probably a mismatch between your local computer git config email and the email setup in github.

This can happen for 2 reasons:

You have not set your email in git

If that is the case, you need to set your email in your local git config.

Check what is your current email with

$ git config

And set your email with

$ git config “"

Note that this will only affect new commits. Past commits will remain the same.

You are using a different email that what has been configured in github

This happens when you are contributing to a private repository on a work computer for example and you have configured git to use your work email instead of your usual github email.

There are 2 ways to fix this:

  • Go to Github Settings > Emails > Add email address

And add your work email address here to link commits done from a local git configured with your work email to your normal github account.

  • Change your local git config to use your main github email (cf above)