I'm learning how to use Git, and I've noticed that there's no control over the user.name and user.email when commiting. For example, I'm inside my repository. I can change my local config,
$ git config user.name "<someone's Github username>"
$ git config user.email "<someone's Github email>"
Then, I commit something and push it. I will be asked for my Github username and password.
Now it appears as if that another Github user authored that commit in my repository. !?
Am I missing something?