git: get folder tree structure