Trouble installing Docker and Git

how do i know it’s completed? I’ve waited 10 minutes and when I typed in git --version, it tells me that git command is not found