title: How to delete undefined extension file from git?
body: <p>I created a file accidentally with undefined extension in <code>GIT bash</code>. I have attached a screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/wsDPB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wsDPB.png" alt="screenshot"></a></p>
  
  <ul>
  <li>I tried <code>git rm text,txt</code> but that is not working .</li>
  <li>I can delete directly from my repository from my folder but O want to delete via git bash. </li>
  </ul>