Steps to reproduce

  1. cp foo.example foo
  2. ls
  3. git checkout af22b39d45a91d98e91a6e7948edbbfe73f17276
  4. ls
  5. git checkout master
  6. ls