how to know git installed or not in linux code example Example: check git installed linux git --version