Trying to install Git but running into error

I’m in the section “Get started with Git and Github” in the Git course and I’m having issues with the software installation. The problem happens when I open the terminal then try to install Git. I receive this error message “can’t install the software because it is not currently available from the Software Update server.” I also see that my default interactive shell can now be updated to zsh. Could this be the root of the issue?