Instead of creating a `Brewfile.lock.json` to `.gitignore`, running `brew bundle` with `--no-lock` will skip generation.