Modification of .gitignore and initialisation of the repository