It will be treated as supply if such branches are been registered as two different business verticals....i.e. one separate GST registration for one branch and another separate GST registration for the other branch even in the same state...moreover in many cases branches in the same state is always taken a single registration...and some people does two registration so as to differentiate their business..