#!/usr/bin/python3
import sys

import git

r = git.Repo( sys.argv[1] )

print( r.remotes )

for rem in r.remotes:
    for name in dir(rem):
        if name[0] != '_':
            v = getattr( rem, name )
            #if not callable( v ):
            print( 'remote %-15s: %r' % (name, v) )


    for ref in rem.refs:
        for name in dir(ref):
            if name[0] != '_' and name not in ('ref','reference'):
                v = getattr( ref, name )
                #if not callable( v ):
                print( 'ref %-15s: %r' % (name, getattr( ref, name )) )
        print( '-----' )
        print( '    ref.name', ref.name )
        print( '    ref.commit', ref.commit )

@@ -68,15 +68,20 @@
 %5D )%0A
-%0A
 print(
+ repr(
  r.r
@@ -88,17 +88,18 @@
 emotes )
-%0A
+ )
 %0Afor rem
@@ -113,16 +113,37 @@
 emotes:%0A
+    print( '=====' )%0A
     for 
@@ -228,33 +228,32 @@
 e )%0A            
-#
 if not callable(
@@ -250,32 +250,36 @@
  callable( v ):%0A
+    
             prin
@@ -318,34 +318,122 @@
 ) )%0A
-%0A%0A    for ref in rem.refs:
+    print( '%F4%8F%BC%A0remote.urls', list( rem.urls ) )%0A%0A    continue%0A%0A    for ref in rem.refs:%0A        print( '    -----' )
 %0A   
@@ -583,17 +583,16 @@
         
-#
 if not c
@@ -621,24 +621,28 @@
         
+    
 print( '
 ref %25-15
@@ -633,16 +633,20 @@
 print( '
+    
 ref %25-15
@@ -689,33 +689,8 @@
 ) )%0A
-        print( '-----' )%0A
     

update experiment into remote