split sending to github into seperate method and do it before setup_repo