title: How can I check if a specific remote repository branch contains a specific merged branch?
body: <p>I want to check if a branch on a remote Git repository contains a merged branch with a specific name. For example:</p>
  
  <ul>
  <li>There is a remote repository at <code>www.example.com:/repo.git</code>.</li>
  <li>In that repository, there are is a branch named <code>myBranch</code>.</li>
  <li>I want to check if a specific feature branch like <code>myFeatureBranch</code> has been merged into <code>myBranch</code>.</li>
  </ul>
  
  <p>If I cloned the repository and checkout <code>myBranch</code>, I could do <code>git show-ref --verify refs/heads/myFeatureBranch</code>, but that's not what I want to do. I have to do it with a remote branch without cloning.</p>
  
  <p>I already played around with <code>git ls-remote --heads www.example.com:/repo.git</code>, but the only thing I get is a list of remote heads. Has anyone done that before?</p>