* SCM - refactor history item tooltip * Extract the hover code into a separate file * SCM - add references into the hover * Pull request feedback * Fix compilation errors