title: git update version error: curl: (60) SSL certificate problem: self signed certificate in certificate chain
body: <p>I try to update git version in AzureDevOps agent server by command <code>git update-git-for-windows</code>
  but get an error:</p>
  <pre><code>    PS C:\Program Files\Git&gt; git update-git-for-windows
  curl: (60) SSL certificate problem: self signed certificate in certificate chain
  More details here: https://curl.se/docs/sslcerts.html
  
  curl failed to verify the legitimacy of the server and therefore could not
  establish a secure connection to it. To learn more about this situation and
  how to fix it, please visit the web page mentioned above.
  PS C:\Program Files\Git&gt; git update-git-for-windows
  curl: (60) SSL certificate problem: self signed certificate in certificate chain
  More details here: https://curl.se/docs/sslcerts.html
  
  curl failed to verify the legitimacy of the server and therefore could not
  establish a secure connection to it. To learn more about this situation and
  how to fix it, please visit the web page mentioned above.
  </code></pre>
  <p>I have a RootCA.crt in the config:</p>
  <pre><code>[user]
        name = tfsbuild
        email = tfsbuild@XXX
  [http]
       sslCAInfo = C:/Users/tfsbuild/RootCA.crt
  </code></pre>
  <p>EDIT:
  The Solution is:
  add CURL_CA_BUNDLE to user variables with the special certificate.</p>