update git provider to handle checking out into an existing (empty) dir
change path_empty? to not do full directory listing
Merge pull request #91 from jiacona/master

update git provider to handle checking out into an existing (empty) dir