Make sure git package is installed before running git command.