Add .gitignore file.

(cherry picked from commit b0775564421f8915ef4583fa6457ccccb234ad2c)