title: How to remove a duplicate directory with a case-sensitive name?
body: <p>I had duplicate directories in Github (differing in case). It seems they are both tracked to a single directory in my local. How do I properly delete one of the directories without affecting my local? </p>
  
  <p>General steps I took (IIRC):</p>
  
  <ol>
  <li>I had a directory, let's say "MyDirectory". </li>
  <li>I pushed some code in that directory to Github.</li>
  <li>I changed the directory name to "mydirectory".</li>
  <li>I realized that github is not case-sensitive by default (all my code changes were added to to "MyDirectory" in Github), so I ran "git config core.ignorecase false". </li>
  <li>I re-pushed the changes, which created a new directory in Github.
  (At this point, Github has 2 directories, one named MyDirectory and the other named mydirectory. My local only has mydirectory.)</li>
  <li>I couldn't figure out a good way to delete MyDirectory from Github, so I manually deleted all the files inside it following <a href="https://webapps.stackexchange.com/questions/30495/how-to-delete-a-file-and-folder-from-github-com-repository-using-github-coms-we">these steps</a>.</li>
  <li>Now, when I run git pull, it deletes mydirectory from local (I don't want that.)</li>
  </ol>