No build android App

Hi all, i try to build app in android studio, face a problem “CreateProcess error=2, Не удается найти указанный файл” in this line "def gitSha = ‘git rev-parse --short HEAD’.execute(, project.rootDir).text.trim() "
what am I doing wrong?

Gradle is trying to run “git”, which you don’t have available. Put your git executable on your path.