fetchcontent how to override dependency details

When using FetchContent: I need to override dependency details for an already populated content.

How do I do this? More specifically, I need to change the tag used for checkout on a git repository.

it is updated automatically every time the CMakeLists.txt file is changed, no reconfiguration needed.