Revert "Revert "added gitignore and attributes""

This reverts commit ac04b1534f058f2f66a7bdfa45074595640473fc.