title: Suspicious https://github.com/Homebrew/brew git origin remote found
body: <p>The symptom of the problem is the following:</p>
  <pre><code> ~ % brew install htop
  Updating Homebrew...
  ==&gt; Auto-updated Homebrew!
  Updated 1 tap (homebrew/cask).
  ==&gt; Updated Casks
  Updated 2 casks.
  
  ==&gt; Searching for similarly named formulae...
  Error: No similarly named formulae found.
  Error: No available formula or cask with the name &quot;htop&quot;.
  ==&gt; Searching for a previously deleted formula (in the last month)...
  Error: No previously deleted formula found.
  ==&gt; Searching taps on GitHub...
  Error: No formulae found in taps.
  </code></pre>
  <p>No matter what I try to install it can't find it. So I ran <code>brew doctor</code></p>
  <pre><code>Warning: Suspicious https://github.com/Homebrew/homebrew-core git origin remote found.
  The current git origin is:
    https://github.com/Homebrew/brew
  
  With a non-standard origin, Homebrew won't update properly.
  You can solve this by setting the origin remote:
    git -C &quot;/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core&quot; remote set-url origin https://github.com/Homebrew/homebrew-core
  </code></pre>
  <p>Followed by</p>
  <p><code>git -C &quot;/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core&quot; remote set-url origin https://github.com/Homebrew/homebrew-core</code></p>
  <p>and then ran brew doctor again and got</p>
  <pre><code>Warning: Suspicious https://github.com/Homebrew/brew git origin remote found.
  The current git origin is:
    https://github.com/Homebrew/homebrew-core
  
  With a non-standard origin, Homebrew won't update properly.
  You can solve this by setting the origin remote:
    git -C &quot;/usr/local/Homebrew&quot; remote set-url origin https://github.com/Homebrew/brew
  </code></pre>
  <p>and so I ran the command <code>git -C &quot;/usr/local/Homebrew&quot; remote set-url origin https://github.com/Homebrew/brew</code></p>
  <p>and then ran brew doctor again and got the first results.</p>
  <p>Any thoughts on what could be wrong?</p>