I just helped a friend to set up a Github account to collaborate on my project. His commits come through, but for some reason on the \"Source\" page of my repository next to
Just ask your friend to add email that he use in local git commits to his GitHub account emails list as stated in GitHub Help
Run this in Terminal:
git config --global user.name "your-github-username"
git config --global user.email "your-github-email"
Does your friend have the e-mail address he is using for his commits correctly set up as an alias in GitHub? Otherwise, how is GitHub to know who he is? Git itself only records the full name and the e-mail address and obviously not the GitHub username, since you can use Git perfectly fine without GitHub.
Add the email used in the git commits to github via Account Settings: Email Settings