how to check if you have git installed on linux code example Example: check git installed linux git --version