Homebrew
brew install
and brew update
hang with error: 'refs/remotes/origin/master': unknown revision or path not in the working tree. · Issue #10368 · Homebrew/brew
Ubuntu installtion
sudo apt-get install build-essential procps curl file git
brew install Python // installs python