how to update git from local repository