View latest tag

Using git describe command.

Checkout latest tag

$ git checkout $(git describe --abbrev=0 --tags)