title: How to use Git commands in buildspec file?
body: <p>I am using Windows OS and Github as repository.
  I want to add Remote repository using Git command in buildspec file.
  My command is git remote add origin <a href="https://github.com/moodysanalytics/maks-bc-fdeexcelwrapper" rel="nofollow noreferrer">https://github.com/moodysanalytics/maks-bc-fdeexcelwrapper</a>.
  I am getting error "The term 'git' is not recognized as the name of a cmdlet"</p>
  
  <pre><code>version: 0.2
  
  phases:
       install:
             commands:
  
                     - git remote add origin &lt;My Repository&gt;
  </code></pre>
  
  <p>I installed Git using chocolatey. Still I am getting same error.</p>
  
  <pre><code>version: 0.2
  
  phases:
      install:
          commands:
          - Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
      - Write-Host $Env:Path
      - C:\ProgramData\chocolatey\bin\choco.exe install -y git.install
      - Write-Host $Env:Path
      - setx PATH "$env:Path;C:\Program Files\Git\bin\"              
      - setx PATH "$env:Path;$Env:Path + ;C:\Program Files\Git\cmd\"
      - Write-Host $Env:Path
      - git remote add origin &lt;MyRepo&gt;
  </code></pre>