Android Studio Warning: Process ‘command ‘git‘‘ finished with non-zero exit value 1

At first, I thought it was a JDK problem. Later, I changed the JDK version and did not fix it. Looking up the information on the Internet, we found that it might be a git problem.

Enter git config user. Name in terminal   No corresponding user name was output.

Then configure the user name and mailbox

$ git config --global user.name usename
$ git config --global user.password password
$ git config --global user.password email

Read More: