I'm not sure I understand the meaning of your response. Can you clarify for me?
My CentOS 7 machine (updated with latest operating system updates through "yum update") includes git 1.8.3.1 and it supports the "git config --local credential.username MarkEWaite" command.
My CentOS 6 machine (updated with latest operating system updates through "yum update") includes git 1.7.1. It does not support the "git config --local credential.username MarkEWaite" command.
When you said
I upgrade the git version to 1.8.4 to get the code from gitlab(8.8.7), then find the problem
, did you mean that the solution to the problem you found was to upgrade git to 1.8.4, or did you mean that upgrading to git 1.8.4 did
not solve the problem you were seeing?
The version of command line git you're using is too old for https credential support. You can either enable and use the JGit (pure java) implementation, or you can install a more recent version of command line git.
That output typically comes from a CentOS 5 or CentOS 6 machine where the default git version is too old to support full credentials.