title: After git reset --hard, why didn’t my topic branch change?
body: <p>I accidentally rebased my branch with the DEV branch and then pushed it to a remote repository. With the rebase, I selected the current changes and hence my local changes got overwritten.</p>
  
  <p>I lost my earlier commit in the rebase but found it by running <code>git log</code>. Then I ran <code>git checkout commitId</code> and even <code>git reset --hard commitId</code>. However, in both cases my code base still shows the latest rebased code on my branch.</p>
  
  <p>How do I restore my branch back to its previous state?</p>