diable certen functions when git is not available