add .gitignore
set git core editor to vim