Add latest commit method

Signed-off-by: Borislav Angelov <borislav.angelov@gmail.com>