When using username/password combo to commit to my Github account via Pycharm, I don't get green squares (badges) in my Github commit history. Commits are made to my own public repository
This is not that big technological issue but there are people who judge others based on number of those green squares.
Make sure that the email address that you use in your commits matches the email address of your github account. To change the email address, use git config user.email
(see here for more information).