I\'m having problems trying to link my commits to my GitHub account. Commits are being reported on GitHub the way my picture shows. The values user.name and use
You have to get the reference for the remote repo first.
git remote add origin https://github.com/yourGithubAccount/yourRepo.git
then do git push -u origin master.
git push -u origin master