def remote_personal_url(): try: return git.config("remote.personal.url").strip() except sh.ErrorReturnCode: return None
def remote_lingbib_url(): try: return git.config("remote.lingbib.url").strip() except sh.ErrorReturnCode: return None
def branch_master_tracking_personal(): try: return REMOTE_PERSONAL in git.config("branch.master.remote") except sh.ErrorReturnCode: return False