removed mode from git dir