title: cherry-pick changes of multiple non sequential commits from remote branches to "master" branch in single commit
body: <p><a href="https://i.stack.imgur.com/rQOUM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rQOUM.png" alt="enter image description here"></a></p>
  
  <p>I have created a master remote branch(A), then I did a branching of master as branch(B). I did three commits on branch(B). But I want to cherry-pick changes only from commit1 &amp; commit3 and push them as a single commit in my master branch. Can anyone suggest me a way to handle this scenario.</p>