title: How to make a pull request to a remote branch in a pipeline in Azure DevOps?
body: <p>This question is similar to the following question: <a href="https://stackoverflow.com/questions/59958518/how-to-do-a-git-pull-request-on-remote-branches-via-the-command-line">How to do a Git pull request on remote branches via the command line</a></p>
  
  <p>I have a pipeline that generates a branch with a new document that needs to be integrated into the remote repository to the master branch. This needs to be done through a pull request, I have tried with the git command <code>git request-pull</code> to no avail as I don't see the pr in the could. This is what I currently have (Which directly merges the new branch to master without the pr).</p>
  
  <pre><code>- script: |
      cd documentation
      git config --global user.email "myemail@someOrganization.com" &amp;&amp; git config --global user.name "John Doe"
      git checkout -b release-notes
      dir
      mv $(System.DefaultWorkingDirectory)\\..\\tempdocs.md $(System.DefaultWorkingDirectory)\\..\\"$(SourceBranch)".md
      mv $(System.DefaultWorkingDirectory)\\..\\"$(SourceBranch)".md docs\\applications\\app\\versions\\"$(SourceBranch)".md
      git add .
      git commit -m "add release notes for $(SourceBranch)"
      git checkout feature/automatic-docs &amp;&amp; git merge release-notes &amp;&amp; git push origin
    displayName: 'Publish Documentation'
  </code></pre>