set .gitignore file to ignore the build directory and its contents