No, the library and temp folder are temporary files that you don't need. The best way to know what files you need is by checking the unity gitignore