How to populate the avatar in Xcode source control?

In Xcode source control, in the commits section, there is an avatar placeholder beside the name. Photos of Xcode show this image populated with a picture, but there seems to be no way to actually do this. This is very painful for people who work in an office where two employees share the same name.

Things I've tried that don't work:

-Having a Gravatar (yes email addresses match).

-Ensuring my git config file has an email address.

-Ensuring my email address in GitHub is correct (and my GitHub has a picture).

-Ensuring my contacts app has my name with my email address and picture in it.

How on earth does one populate this placeholder (see image below)?

How to populate the avatar in Xcode source control?
 
 
Q