When I setup a new development environment, I’ll commit my code to GitHub but the green boxes won’t show my contribution for that day.
It’s usually because my git email / name is incorrect. The fix is pretty simple. Type the following into the command line:
git config --global user.name "Your Name"
git config --global user.email "yourgithubaccountemail@blah.com"
Try to commit and push your code again to see if your contributions are now showing.
Another reason for contributions not showing up is if you’re pushing code to a branch other than master.