Added from text code to get a commit