added get_git_log function & minor changes