this is probably naive question:
i have file config.yml which is in .gitignore file when I'm switching branch to 'someotherbranch' and next i switch back to master
then I don't see config.yml
why ignored files are vanishing after switching branch and what can I do to avoid it?