title: fatal: could not create work tree dir:no such file or directory
body: <p>I'm trying to clone my git repository resides in gitlab. While checking out files, I'm getting this error. Moreover, I verified that my current local folder where I tried to clone has permission to write.</p>
  
  <p>I think it may be the possible duplicate of <a href="https://stackoverflow.com/questions/54385814/how-to-fix-fatal-could-not-create-work-tree-dir-wsl-distribution-switcher-n">this</a>.<br>
  As <a href="https://stackoverflow.com/questions/54385814/how-to-fix-fatal-could-not-create-work-tree-dir-wsl-distribution-switcher-n">this</a> question has no answer, I just asked again.  </p>
  
  <p>Kindly help me to resolve this.</p>