Adding .gitignore file.
Adding -c and -r switches.