Added function to do Git actions on a list of commits, and to lookup for commits using a keyword