Added (setq x-select-enable-clipboard t) to alllow copying from Emacs to other app. And .gitignore for files to be ignored.