Adding .gitignore management function