title: Git get specific version
body: <p>I am trying to get specific version in git and commit it as the current version. Consider this example scenario:</p>
  
  <pre><code>tag : v2 (current version)
  files : 1.txt,2.txt,3.txt
  
  tag : v1
  files : 55.xml,33.yml
  </code></pre>
  
  <p>I am trying to switch to tag v1 and make it as my current version (get this specific version)</p>
  
  <p>By searching web, i could able to find out way to get all the files</p>
  
  <pre><code>git checkout tag_name
  # ex. git checkout v1
  </code></pre>
  
  <p>And this actually fetches the files from the specific version and loads into my working directory.</p>
  
  <p>But i cannot commit the existing files and push it back to server.</p>
  
  <p>(When it try to push, it shows like no changes pending)</p>