title: Rename file with Git
body: <p>I would like to rename file from <code>README</code> to <code>README.md</code>. What is the best practice to do that?</p>
  <hr />
  <p>I have only one repo called &quot;change-z-index&quot;.</p>
  <ol>
  <li><p>I open and login like that:</p>
  <p>ssh -T git@github.com</p>
  </li>
  </ol>
  <p>And I enter my passphrase.</p>
  <ol start="2">
  <li><p>I try to rename the file like that:</p>
  <p>git mv README README.md
  git commit -m &quot;renamed&quot;
  git push origin master</p>
  </li>
  </ol>
  <p>It gives me an error saying <strong>bad source.</strong></p>
  <p>I think I need to select my repo first... it's name is &quot;change-z-index&quot;. I have read manual many times, but still can't understand how to do it.</p>