Pathspec error on tag checkout

When you see error such as this

1bash-4.1$ git checkout Brick_Release_2018-06-19
2error: pathspec 'Brick_Release_2018-06-19' did not match any file(s) known to git.

'git fetch' first and retry to checkout. If it still fails, ensure you're using the correct branch name.