Remove sample hooks
Handle dot_git in DirectoryHelper
Add explicit cast from string to ObjectId