The "cat" command:

Usage: fossil cat FILENAME ... ?OPTIONS?

Print on standard output the content of one or more files as they exist
in the repository.  The version currently checked out is shown by default.
Other versions may be specified using the -r option.

Options:
   -R|--repository FILE       Extract artifacts from repository FILE
   -r VERSION                 The specific check-in containing the file

See also: finfo