Old git doesn't support -C, workaround