code: def get_last_commit(git_path='git'):
      
      hash_, udate, aname, amail, cname, cmail = (
          call((git_path, 'log', '-1',
                '--pretty=format:%H,%ct,%an,%ae,%cn,%ce')).split(","))
      date = time.strftime('%Y-%m-%d %H:%M:%S +0000', time.gmtime(float(udate)))
      author = '%s <%s>' % (aname, amail)
      committer = '%s <%s>' % (cname, cmail)
      return hash_, date, author, committer
docs: Returns the details of the last git commit
  
      Returns a tuple (hash, date, author name, author e-mail,
      committer name, committer e-mail).