title: How to remove a pushed commit on GitHub?
body: <p>As you can probably guess from the title, <strong>I accidentally pushed a commit</strong>. I was wondering if there is still a way for me to delete it or remove it?</p>
  <p>Although this question has already been asked (like <a href="https://stackoverflow.com/questions/448919/how-can-i-remove-a-commit-on-github">here</a>) I thought it would be useful to add a more updated version to the site as I am not sure whether the answer provided there still applies today.</p>
  <p>Thanks in advance!</p>