Using branch for determining version