The code should detect the git failure and print out a helpful error message.
The code should detect the git failure and print out a helpful error message.