Update repository head when change default project branch