Add .gitignore.
Adapt to united styles.