sync github and db