Install Hanging on MacOS Catalina

Hello everyone. I am trying to install Homebrew on MacOS Catalina 10.15.2 but it seems to hang. You can see below where it stops:

username@computer ~ % /usr/bin/ruby -e "$(curl -fsSL"
==> This script will install:

Press RETURN to continue or any other key to abort
==> Downloading and installing Homebrew...
HEAD is now at d837734a8 Merge pull request #6917 from GauthamGoli/test-args-fix

Any ideas on how to fix this?

How long do you wait? And does your terminal title show any commands running?

I was just installing Homebrew on a fresh MBP with Catalina 10.15.1 and ran into a similar issue. The solution seemed to be reinstalling Xcode command line tools (maybe an issue with the license agreement), i.e. running
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
brew update --force --verbose

This may or may not be applicable in this case.