I have a linux machine running with Git. I did a checkout of a repo and I do commits from the linux commnad line. When I do push and pull operations, it asks me my username and password, and then it shows success.
However, in logs, it shows committed by root. I checked in git config, and I could not find anything.
Here are the values of my config file:
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
remote.origin.url=https://github.com/my-username/RepositoryName.git
branch.stage.remote=origin
branch.stage.merge=refs/heads/stage