XF 1.5 How to access template files?


I know that the templates are stored in the database, and I know that I can access them using a tool that supports webDAV, but it seems like there is no easy way or any way at all to make it work as smoothly as it should(at least with my experience with it)...
I would like to know what tools does the dev team of xenforo uses to manipulate its styles, so if any of you are reading this, please leave a comment.
And also any sort of suggestions would help(from anyone)!