I am building a node.js project and I have a gh-pages branch for the github website. I have a mockoups folder in that branch that I've included in the .gitignore file, because I don't want it on github. Whenever I checkout to another branch the folder gets deleted.
How do I keep the folder but not commit it to github?