While entering git command some error comes

while entering the command
git remote add origin [email protected]:aryan-8947/gitinro.git
i get this error

git : The term ‘git’ is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1

  • git remote add origin [email protected]:aryan-8947/gitinro.git
  •   + CategoryInfo          : ObjectNotFound: (git:String) [], CommandNotFoundExcep 
     tion
      + FullyQualifiedErrorId : CommandNotFoundException

Hey, this issue may occur due to many reasons. Maybe your git on the local machine is corrupted or not installed.
I would recommend to got through this and try different solutions given: https://stackoverflow.com/questions/4492979/git-is-not-recognized-as-an-internal-or-external-command