When the set merge tool (git config merge.tool <x>) is not available the error is thrown:
The merge tool is not available as '<x_cmd>'
This error message could be detected and the user advised to set up a working merge tool.
git config --help will display available preset mergetools under merge.tool.