title: Git- Why .txt file is not ignored
body: <p>I need to ignore .txt file in git. To do so i have included *.txt in the .gitignore file.But when i edit something in one of my .txt 
  file git is still tracking it. Where is the problem or do i make something wrong. Please help me.</p>