composer lock init commit and edited .gitignore