Add getters for branch and files.
Change branch type, add debug-print function.