Add git default user in core

Fix deep extend for config