title: Deleted origin branches. Need to restore them
body: <p>I was using branches for this exercise project and thought I should delete branches after I'm done. However I well prepared for what to delete and how and now I'm in a pickle. I found SO questions about restoring deleted branches, however I ran into another problem. I removed the appsettings file from my worktree and as can be seen from the two screenshots below, when I try to pull, it says I don't have any local changes and when I use <strong>git checkout</strong>, it says I do have local changes to the appsettings file. Keep in mind, I made the changes not from my local repo first, but from the remote one. I'm not sure why. I wanted to remove the sensitive information as soon as possible.</p>
  
  <p><a href="https://i.stack.imgur.com/vOESS.jpg" rel="nofollow noreferrer">first</a></p>
  
  <p><a href="https://i.stack.imgur.com/uGGk7.jpg" rel="nofollow noreferrer">second</a></p>