add dist folder to agignore
add files starting with tilde to the global gitignore