brewupdateで失敗するときの対処法

brew update すると以下のような感じでこけることがある。というか非常によくある。

braitom-no-Mac-mini:local braitom$ brew update
error: unable to unlink old '.gitignore' (Permission denied)
error: unable to unlink old 'README.md' (Permission denied)
error: unable to create file SUPPORTERS.md (Permission denied)
Checking out files: 100% (925/925), done.
Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master

こんなときは以下のリンクのどれかを試せば直る。