I recently installed Homebrew on my Mac using the UNIX command from the Homebrew homepage
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
When the command downloads the Ruby script, does it secure the connection to the GitHub server using TLS or SSL? In other words, is there any chance that I could have downloaded a malicious script if someone intercepted my connection?
Also, can someone please explain each of the options, flags, switches, etc. included in the command above?