Append .git to the target dir
Fix bug: stderr was not returned by executor
Add logging