title: Git pull doesn't update changes
body: <p>I use only one branch <code>master</code>.</p>
  <p>I wrote a new method and then committed and pushed it.Then I accidentally removed the method from my local branch.
  <a href="https://i.stack.imgur.com/0ZD18.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0ZD18.png" alt="enter image description here" /></a>
  When i try to get back the method from remote branch to local by git pull using intellij IDE there is no merge option and a message appears: All files are up-to-date</p>