Manually Verifying

If you’re a skeptical person then you might be asking:

“How can we be sure that Git was actually installed?”

Let’s verify this right now.

Kitchen has a login subcommand for just these kinds of situations:

$ kitchen login
Welcome to Ubuntu 20.04 LTS (GNU/Linux 5.4.0-31-generic x86_64)

 * Documentation:
 * Management:
 * Support:

  System information as of Wed 10 Jun 2020 07:20:35 PM UTC

  System load:  0.01              Processes:             100
  Usage of /:   2.6% of 61.31GB   Users logged in:       0
  Memory usage: 16%               IPv4 address for eth0:
  Swap usage:   0%

0 updates can be installed immediately.
0 of these updates are security updates.

The list of available updates is more than a week old.
To check for new updates run: sudo apt update

This system is built by the Bento project by Chef Software
More information can be found at
Last login: Wed Jun 10 19:17:07 2020 from

As you can see by the prompt above we are now in the default-ubuntu-2004 instance. We’ll denote the prompt in an instance with $ for clarity. Now to check if Git is installed:

$ which git
$ git --version
git version 2.25.1

Rockin. Now we can exit out back to our workstation:

$ exit
Connection to closed.

Feel free to use the login subcommand any time you have the urge to poke around, uninstall packages, turn off services, grep logs, etc. Go to town, this is a sandbox and isn’t production after all.