Setting up support for branches and tags