E.g. the existence of .gitignore would cause .git to be included.
Also, don't depend on tput (ncurses). It's really not needed since ANSI escape sequences have been standardized for 35 years or so.