Git command

trying to add git link to my computer as root and getting error message

git clone https://github.com/xxxxxxx/xxxxx.sh
bash: git: command not found

You may need to install the git command / package. Check your package manager.

now installed git and then try to run the command

git clone https://github.com/xxxxxxx/xxxxx.sh

Cloning into 'xxxxxx'...
fatal: repository 'https://github.com//xxxxx/' not found
dnf install git