View the current bound user
git config --global user.name
git config --global user.email
Copy the code
Hide file changes by editing
Directly under the user name, view the hidden file, which IS the one I selected below. Shift + Command +. Now you can show the hidden file.
Open the file, edit it directly and save it
Finally, follow the first step to view the current bound account and check whether the change is successful