Commit error “make sure you configure your user.name and user.email in git” can be resolved by running the commands in Git terminal