title: How to fix Github to Azure DevOps Sync?
body: <p>I have a synchronization between Azure DevOps and Github to sync the Github repo with the repo in Azure Devops.
  End of last year everything works fine.
  This year the synchronization do not work anymore.
  The failure message was <code>fatal: could not read Password for 'https://$(XXXXXXXXXToken)@yyyyyy.visualstudio.com': terminal prompts disabled</code>'</p>
  
  <p>I have forgotten, that the PAT expires on 31.12.2019.
  So I recreated the pipeline, instead of just changing the expiration date of the PAT. <em>facepalm</em>.
  My idea was to create a new pipeline to get to the point which the problem cause.
  But I think I made everything worst.</p>
  
  <p>Now I changed the Script from:</p>
  
  <p><code>git push https://$(XXXXXXXToken)@yyyyyy.visualstudio.com/nnnnn/_git/kkkkkkkk -u --all</code></p>
  
  <p>to:</p>
  
  <p><code>git push https://$(System.AccessToken)@yyyyyy.visualstudio.com/nnnnn/_git/kkkkkkkk -u --all</code></p>
  
  <p>I changed the token to 'System.AccessToken', because information at "Allow scripts to access the OAuth token" says:
  <a href="https://i.stack.imgur.com/cJtSj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cJtSj.png" alt="Allow scripts OAuth"></a></p>
  
  <p>I revoked every PAT in my list.
  After I recreated the pipeline and changed the access to 'System.AccessToken' DevOps automatically creates a PAT, which looks like: </p>
  
  <p><a href="https://i.stack.imgur.com/zyV0A.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zyV0A.jpg" alt="enter image description here"></a></p>
  
  <p>The Pipeline runs green, but the Azure DevOps git repo is still not updated.
  It seems, there is still no connection to the Azure DevOps git repo.
  The log of the pipeline shows me, that checking out from the github repo works fine. No failures.</p>
  
  <p>The Pipeline YAML code (I have created the pipeline with the UI not directyl with the YAML editor) is:</p>
  
  <p><a href="https://i.stack.imgur.com/vlQAB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vlQAB.png" alt="Pipeline YAML Code"></a></p>
  
  <ul>
  <li>On Github site I installed the Azure Pipelines and Azure Boards App.</li>
  <li>I also authorized both apps and authorized both apps to OAuth.</li>
  <li>I also have a Webhok between GitHub and the Azure DevOps repo. The Webhook is configured for Pull requests, Pushes and Releases</li>
  <li>In Azure DevOps there is a GitHub connection to all my Repos in GitHub.</li>
  </ul>
  
  <p>Can someone help me to get the sync working correctly?</p>