Check out previous Git branch at end of deploy