fixing the git config function