Make updating git repos a locked process
This way we should prevent two processes/requests updating the git repo
at the same time and potentially running into each other which may lead
to a broken history in the repo where object are pushed incorrectly.