Fix git buttons

#2452 

@ussuri PTAL thanks.
Does deliverChanges() works for you?