title: git clean master branch in repository
body: <p>Hello I have setup two branches in my repository master and dev.</p>
  
  <p>By mistake, I had uploaded my code to master instead of dev.</p>
  
  <p>So, How to clear the master branch using local repository?</p>