I am trying to install git using homebrew:
brew install git
==> Searching for similarly named formulae... Error: No similarly named formulae found. Error: No available formula or cask with the name "git". ==> Searching for a previously deleted formula (in the last month)... Error: No previously deleted formula found. ==> Searching taps on GitHub... Error: No formulae found in taps.
If I input
brew doctor, I get the following:
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 "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" remote set-url origin https://github.com/Homebrew/homebrew-core
However, if i do
git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" remote set-url origin https://github.com/Homebrew/homebrew-core, nothing changes and I get the same output with
command line tools is installed:
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
I have tried reinstalling brew,
brew update and
Any help would be greatly appreciated.