Set git root directory.