Error:
/usr/local/bin/brew: line 1: syntax error near unexpected token '<<<'
/usr/local/bin/brew: line 1: '<<<<<<< 61ffa47gd9dc179ddff792db1dc6f55464f6c16b'
I tried removing and adding closing triangular brackets but neither one worked for me.
I found some similar questions/answers related to this where unexpected token was ')', but they didn't help.