add .git attributes and .gitingnore