If you want to ignore subfolder in git tree you may add this folder in .gitignore file in root directory, or just create .gitignore file in that folder with content:
.gitignore
# Ignore everything in this directory * # Except this file !.gitignore