Fix git buttons

#2452 

@ussuri PTAL thanks.
I set this field programatically which the pattern checker is not listening to. Removing `required` as per now.