Creating a function for getting branch/tag options.