1

When I try to use git in Android Studio terminal, I get this error:

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

enter image description here

d219
  • 2,707
  • 5
  • 31
  • 36
Moha.AZ
  • 776
  • 2
  • 5
  • 11
  • The error message you quoted here is a PowerShell error, not a Git or Android Studio error. – torek Aug 15 '22 at 08:34
  • Related (2010, 42 answers, and 600 votes): *[Error "'git' is not recognized as an internal or external command"](https://stackoverflow.com/questions/4492979/)*. – Peter Mortensen Dec 17 '22 at 02:13

1 Answers1

2

Make sure you have git installed on your pc then add git to environmental variables.

Link: https://www.delftstack.com/howto/git/add-git-to-path-on-windows/

Tayyab
  • 105
  • 11