Modify git up to remove branches deleted on the remote