Add directories to gitignore.
Add output directory to git.