synchronizing local with origin