title: GIT remove the bad commit and Push to the remote repository
body: <p>A repository is created, and a calculator project is cloned in Python.</p>
  <p>The file newfile.py has the code. This code is written in various commits. In the previous commits, the calculator code worked well. However, after certain commits, the calculator code displays a divide by zero exception. This is due to the change in line 2 of 'newfile.py'.</p>
  <p>Use cat newfile.py to read the contents of the file</p>
  <p>Use git log to check the previous commits.</p>
  <p>Use Git Bisect to find the commit in which line 2 is changed from 'b = 20' to 'b = 0.00000'.</p>
  <p>Remove the bad commit by using Git Revert. Leave the commit message as is.</p>
  <p>Push to the remote repository.</p>
  <p>My approach :</p>
  <p>I have identified the bad commit using :</p>
  <p>git bisect start
  git bisect good
  git bisect bad</p>
  <p>after few steps i have identified the bad commit Id which has caused the problem.</p>
  <p>I have followed the below steps to remove the bad commit :</p>
  <ol>
  <li>git revert &lt;&gt;</li>
  <li>git bisect reset</li>
  <li>Need help in last step of [Push to the remote repository] ????? How to do this last step
  Note : i have attached the repository shown in the attachement.</li>
  </ol>
  <p>[Git console showing branch]</p>