Git attributes and ignore files

Add recommended git attributes and ignore files.