moved get_git_log function to helpers