title: Git: why __pycache__ still metionned?
body: <p>I try to work using Git.</p>
  <p>I have experience many conflicts problems and try to understand better Git in order to implement a workflow that should prevent if possible conflicts (even if it is not always possible)</p>
  <p>I have origin/master branch (=dev branch) on my Gitlab remote repository and the corresponding master in my local repository.</p>
  <p>I have defined a backlog with differents isues.</p>
  <p>I decide to work on issue #1 so I pull origin/master to be up-to-date in my local master and create a local branch name feature/1.</p>
  <p>I work on this feature/1 branch and commit yesterday.</p>
  <p>I did not finish to work on this issue but when I finish, but to complete workflow, I will push this feature/1 on Gitlab and make a merge request in order to merge with origin/mater. After that, I pull origin/master, suppress my local feature/1 branch and create a new feature/2 branch.</p>
  <p>This morning, I checkout on my local master to verify I am still up-to-date with origin/master and it is the case except that git mentionned that 3 files have been modified:</p>
  <pre><code>On branch master
  Your branch is up to date with 'origin/master'.
  
  Changes to be committed:
    (use &quot;git restore --staged &lt;file&gt;...&quot; to unstage)
          deleted:    myapp/__pycache__/settings.cpython-37.pyc
          deleted:    myapp/__pycache__/urls.cpython-37.pyc
          deleted:    myapp/__pycache__/views.cpython-37.pyc
  </code></pre>
  <p>I understand pychache files are pre-compiled code to speed code execution.</p>
  <p>But I did not understand: I have not worked on my local master and <strong>pycache</strong> is mentionned in my .gitignore files store at the root.</p>
  <p>So why this files are mentionned? If I commit, I will ahead of one commit with origin/master and will have to push?</p>
  <p>What is wrong with my workflow?</p>