fixed script to keep remote git repos synced