After making GitHub contributions over a period of time, I looked back at my activity chart and didn’t see the type of results I expected.

With a quick search I found this GitHub page which explained why. In order to have contributions attributed to your account, git needs to have your user email address configured.

$ git config --global user.email "[email protected]" 

Adding this immediately changed my contribution activity chart going forward. Now, not only did the chart show activity for new repositories, pull requests, etc, but for commits to my own repositories as well.

This also sets your user account on other git systems, like BitBucket.

Make sure you’re getting the credit you’re due, and show your friends, other contributors, and prospective employers what you’ve been up to by setting your email address in git!