title: Could not read Password for 'Repository URL': terminal prompts disabled
body: <p>I am executing a batch file in Azure DevOps Pipeline which has following statement.</p>
  <pre><code>git init    
  git checkout -b %BranchName%    
  git remote add origin %RepoURL%    
  git fetch &amp;&amp; git checkout %BranchName%
  </code></pre>
  <p>The parameters gets the values from Variables. But I am getting the below error.</p>
  <pre><code>&quot;Could not read Password for '&lt;Repository URL&gt;': terminal prompts disabled&quot;
  </code></pre>
  <p>I have tried to set the value for the RepoURL parameter as follows.</p>
  <pre><code>https://&lt;CollectionName&gt;@dev.azure.com/&lt;CollectionName&gt;/&lt;ProjectName&gt;/_git/&lt;RepoName&gt;
  https://&lt;PAT&gt;@dev.azure.com/&lt;CollectionName&gt;/&lt;ProjectName&gt;/_git/&lt;RepoName&gt;
  </code></pre>
  <p>Many post in this forum suggest to use PAT. So tried the git pull statement as follows.</p>
  <pre><code>git pull %RepoURL%
  </code></pre>
  <p>But no luck. Still getting the same error. Please anyone let me know how to solve this issue.</p>
  <p>Thanks.</p>