download branches from github