Fix gitConfigGlobal func. and some cosmetics.