Converts a directory into a git version-controlled directory via last modified times.