Prepare to work with branches