checkout templates as master if specified.