title: Git pull till certain commit (tag)
body: <p>I have a clone of a remote repository. I updated its remote url to my own server. Then I did some commits and pushed them to my repository.
  Now I need to pull some changes from the initial repository. From a specific branch.
  I can do it by running</p>
  
  <pre><code>git pull http://example.com/repo.git example_branch
  </code></pre>
  
  <p>This will pull every new commit from <code>example_branch</code> (and actually I will get a dev version). But this <code>example_branch</code> has tags. And I need to stop pulling at a certain one (get a stable release in my case).
  How can I do that?</p>
  
  <p><strong>UPD</strong> Finally I came up with:</p>
  
  <pre><code>git remote add example http://example.com/repo.git
  git fetch
  git merge tag_name
  </code></pre>