I'm Getting Errors When I Try to do 'brew update'
I've similar problems and my research suggests resetting your local version of the brew repo:

cd $(brew --prefix) &amp;&amp; git fetch &amp;&amp; git reset --hard origin/master


I'm about to try this myself.