def default_remote(config=None):
 if (config is None):
  config = gitcfg.current()
 return config.get((u'branch.%s.remote' % current_branch()))

def default_remote ( config = None ) : if ( config is None ) : config = gitcfg . current ( ) return config . get ( ( u'branch.%s.remote' % current_branch ( ) ) )
return the remote tracked by the current branch .