def guess_github_repo():
p = subprocess.run(['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>'],<EOL>stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=False)<EOL>if p.stderr or p.returncode:<EOL><INDENT>return False<EOL><DEDENT>url = p.stdout.decode('<STR_LIT:utf-8>').strip()<EOL>m = GIT_URL.fullmatch(url)<EOL>if not m:<EOL><INDENT>return False<EOL><DEDENT>return m.group(<NUM_LIT:1>)<EOL>
Guesses the github repo for the current directory

Returns False if no guess can be made.