save directory tree in local and add "dir.create" function

Get directory tree of git repository only 1 time and save it in local.
Add "dir.create" (like "mkdir") before save files in the directory