Added in command class for getting commit logs