add an utility functoin for github