Error

==> **Installing ffmpeg dependency:** **brotli** fatal: not in a git directory Error: Command failed with exit 128: git

Solution

First run: brew doctor, and then copy the command one by one following the warning response.