def get_default_branch(repo):
url = "<STR_LIT>".format(GITHUB_API_BASE, repo)<EOL>response = requests.get(url)<EOL>if response.status_code == <NUM_LIT:200>:<EOL><INDENT>api_response = json.loads(response.text)<EOL>return api_response['<STR_LIT>']<EOL><DEDENT>else:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>
returns the name of the default branch of the repo