title: Git/Windows - Case sensitivity issues when checking out a branch (and pulling/merging a branch). Affected files are all lowercase in Windows Explorer
body: <p>Having a really strange issue with git and Windows regarding case sensitivity.</p>
  <p>I am not a master at git but I'm also not a beginner. Just want to throw that out there.</p>
  <p>Problem I am facing:</p>
  <ul>
  <li><p><strong>Clone a repository</strong> (don't specify branch, just grab what's on remote origin master)</p>
  </li>
  <li><p><strong>Checkout an existing dev branch</strong> (let's call it DEV)</p>
  </li>
  <li><p><strong>A number of files are now all lowercase</strong></p>
  <p>a. Both branches have the same casing for these files</p>
  <p>b. The affected files seem to be the ones that contain content differences between the two branches</p>
  <p>c. Not all files are affected</p>
  </li>
  </ul>
  <p>Additional notes:</p>
  <ul>
  <li><p>Using a Windows system (which is case-insensitive)</p>
  </li>
  <li><p>git config file defines ignorecase = true</p>
  <p>a. Tried switching to false, did not eliminate this issue</p>
  </li>
  <li><p>Tried running ls-tree on each branch, both show the files as having the same case (not all lowercase)</p>
  </li>
  <li><p>When switching to Dev branch and back to master, the affected filenames remain lowercase</p>
  </li>
  <li><p><strong>Cloning the Dev branch directly works fine</strong>. Does not result in these lowercase filenames</p>
  </li>
  </ul>
  <p>I've tried a number of things to solve this problem, albeit no solution as of yet.</p>
  <p>Does anybody have any clue what may be going on here? I'm not finding much support regarding this issue.</p>
  <p>This question looks to be related (but has no answer):</p>
  <p><a href="https://stackoverflow.com/questions/65793642/switching-git-branches-randomly-changes-filename-case">Switching GIT Branches randomly changes filename case</a></p>
  <p>Thanks</p>