title: How merge branch with specific commit
body: <p>I thought I created a new branch for a specific commit, but actually I left it on the master branch and made my latest commits on the new branch instead.</p>
  
  <p>So now I want to remove the last commit on the master branch and merge my new commits with the master branch before that specific commit.</p>
  
  <p><strong>Probabbly easier to understand with an image:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/OfD2v.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OfD2v.png" alt="enter image description here"></a></p>